Design LRU with O(1) insertion / deletion.
Senior Software Engineer C Interview Questions
95,755 senior software engineer c interview questions shared by candidates
Questions related to past projects. Couple of algorithm questions.
Find overlap between two contracts given start and end time of the contract
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
how to prepare?
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).
It was a coding test (standard problem statements).
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 1031 - 1040 interview questions