Implement a LRU Cache. Implement a class for a deck of cards. Write a shuffling method. How do you test it?
Desarrollador Web Java Senior Interview Questions
98,382 desarrollador web java senior interview questions shared by candidates
Design LRU with O(1) insertion / deletion.
how to prepare?
1. Given Linked list as number, return head node which will flatten to next number and handle all edge cases. e.g 1->2->3 = 1->2->4 1->9->9 = 2->0->0 2. Kth largest number in stream. 3. Decorator, Observer and Singleton Design pattern and scenarios. 4.Distance between two nodes in binary tree. 5.In list of string, find character which occurs in most strings. 6. Library Management 7.Unique Question which i am not able to solve and didn't understand problem correctly given binary string, find min flips to make string with all 0's on left and 1's on right e.g. given by him 1010 --> 0010 --> 0011 --> ans = 2 00001100000 --> 00000100000 --> 0000000000 --> ans = 2 101 --> 001 --> ans = 1
in 1 drum 3 litres water other drum 5 litres how to get total 5 litres in 1 drum conidition only u can throw water any number of times.
Questions related to past projects. Couple of algorithm questions.
Find all the islands (connected components) in a graph.
Show a data structure for LRU cache.
Count amount of 1-bits in byte
Find overlap between two contracts given start and end time of the contract
Viewing 1061 - 1070 interview questions