Top 50 Linked Lists Interview Questions
The most frequently asked Linked Lists questions across all roles and companies, ranked by real interview frequency. Updated weekly.
Design an LRU cache with O(1) get and put using a hash map and doubly linked list.
quadric
Thomson Reuters
UnitedHealth GroupProblem Given the head of a singly linked list, reverse the list, and return the new head node. The linked list is defined as follows: python class ListNo...
Alten
ConnectiCare
GlobantExplain how mobile apps manage memory, avoid leaks, and handle caching, lifecycles, and low-memory conditions.
Slack
XYZ
EvernoteProblem Design a data structure that implements an LRU (Least Recently Used) cache. The cache should support the following operations: - get(key): Retrieve...
Niantic
City of Philadelphia
ParsonsProblem At Meta, imagine multiple pre-sorted event streams need to be combined into one ordered feed. Given k sorted singly linked lists, merge them into o...
Meta
GoogleReverse a singly linked list in place using pointer manipulation in O(n) time.
Google
Publicis Sapient
SnowflakeSign up to see every question
Create a free account to unlock this list and practice real interview questions.
Open any question for its full solution and discussion.
Browse all questions →