what ds can be used for LRU cache.
Software Development Interview Questions
36,975 software development interview questions shared by candidates
Programming question - Given 2 sorted arrays, merge them. Follow up, ensure only 1 of each element is saved in the merged array aka no duplicates.
You have a sentence that has a grammatical error, and the sentence has been broken into a parse tree. The grammatical error is because of an interaction between two words. Find the minimum complete phrase that includes the grammatical error.
Find the longest palindrome in a string
Design a parking lot
Given 2 eggs and there are 100 steps. Need to find the step from which the egg starts breaking. What is the minumum tries?
Delete extra spaces in a string.
Given a binary tree, convert it into a doubly circular linked list. The structure of the tree was given by the interviewer and also the structure of the doubly circular linked list.
Given a set of number ranges, i.e. [1,5], [3,6], [7,9], write a program to merge overlapping number ranges. In the above example, the result should be [1,6], [7,9].
Explain to a high school student with limited computer knowledge how a CPU is capable of running two programs simultaneously.
Viewing 561 - 570 interview questions