Write a program that takes an integer and gives the closest node in a binary tree.
Development Engineer Interview Questions
37,105 development engineer interview questions shared by candidates
what ds can be used for LRU cache.
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].
Viewing 541 - 550 interview questions