Linked Lists Problems

Here are a list of problems that are commonly asked in tech interviews:

  1. Basic operations:
    • Create a linked list
    • Add a node at beginning
    • Add a node at end
    • Add a node at given index
    • Get length of linked list
    • Delete linked list
    • Delete a node at a given index
    • Find the index of a the given value
    • Print linked list
  2. Find the Middle of the Linked List
  3. Reverse the linked list (iterative approach)
  4. Find the nth node of the linked list
  5. Check if the linked list has a cycle
  6. Return the element at which the cycle starts

Leave a Reply

PHP JS HTML CSS BASH PYTHON CODE

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

%d bloggers like this:
search previous next tag category expand menu location phone mail time cart zoom edit close