---
title: "Discussion on \"Cracking the Coding Interview [Ch.2: Linked Lists]\" | Hashnode"
description: "Discussion on \"Cracking the Coding Interview [Ch.2: Linked Lists]\". Introduction\nIn the previous chapter, we discussed arrays and ArrayLists, which insert elements at the end and access them in constant time, O(1). However, what if we encounter scenarios where we need to frequently add or remove elements at the begin..."
url: "https://hashnode.com/posts/cracking-the-coding-interview-ch2-linked-lists/663a3ec0b241cda5c609fd6a"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Cracking the Coding Interview \[Ch.2: Linked Lists\]](https://youssefhesham.hashnode.dev/cracking-the-coding-interview-ch2-linked-lists?utm_source=hashnode&utm_medium=feed)

Introduction In the previous chapter, we discussed arrays and ArrayLists, which insert elements at the end and access them in constant time, O(1). However, what if we encounter scenarios where we need to frequently add or remove elements at the begin...

May 7, 2024 · 5 min read · youssefhesham.hashnode.dev  
Read the article

-   [#problem-solving](https://hashnode.com/tag/problem-solving)
-   [#data-structures](https://hashnode.com/tag/data-structures)
-   [#algorithms](https://hashnode.com/tag/algorithms)
-   [#cracking-coding-interview](https://hashnode.com/tag/cracking-coding-interview)
-   [#linkedlists](https://hashnode.com/tag/linkedlists)

## Written by

[Youssef Hesham](https://hashnode.com/@youssefhesham2)

@youssefhesham2

  
[View profile](https://hashnode.com/@youssefhesham2)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
