FizzBuzz
EasyWrite a function that prints numbers from 1 to 100. For multiples of 3, print "Fizz". For multiples of 5, print "Buzz". For multiples of both, print "...
Run Match →
Reverse a Linked List
MediumImplement a function to reverse a singly linked list. Explain your approach.
Run Match →
LRU Cache
HardDesign and implement an LRU (Least Recently Used) cache with O(1) get and put operations.
Run Match →