LRU Cache: Design a data structure that follows the constraints of a Least Recently Used (LRU) cache .
read more
LRU Cache: Design a data structure that follows the constraints of a Least Recently Used (LRU) cache .
read more
Rotate List: Given the head of a linked list, rotate the list to the right by k places.
read more
Remove Nth Node From End of List: Given the head of a linked list, remove the nth node from the end of the list and return its head.
read more
Remove Duplicates from Sorted List: Given the head of a sorted linked list, delete all duplicates such that each element appears only once.
read more
Remove Linked List Elements: Given the head of a linked list and an integer val, remove all the nodes of the linked list that has Node.
read more
Merge Two Sorted Lists: You are given the heads of two sorted linked lists list1 and list2.
read moreDon’t settle for anything less than the crown. Join our newsletter and become the King of Interviews! Click here to join now and get the latest updates.