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.
Senior Software Engineer Interview Questions
64,421 senior software engineer interview questions shared by candidates
Implement a LRU Cache. Implement a class for a deck of cards. Write a shuffling method. How do you test it?
Design LRU with O(1) insertion / deletion.
Questions related to past projects. Couple of algorithm questions.
Find overlap between two contracts given start and end time of the contract
how you handle a dispute inside a team
How to close connections on exception
2. There is a GET API that responds with very large data. For example, employee records where each record contains all the fields of an employee. But the customer is not happy with such a big response which put burden on the network. What can you do to change the API to respond with less amount of data. (This time I understood the question and asked wherever I need clarity).
Mostly some string manipulation.
Build a regular expression parser in Java that matches expressions like 'aabbc' and say what is its order of growth in Big O notation.
Viewing 781 - 790 interview questions