How would you test [your favorite app]?
Software Interview Questions
551,386 software interview questions shared by candidates
Given a BST print the nodes at each level on a seperate Line. I could do this easily with a queue ..but he wanted some thing with O(n) time complexity and O(1) space .ie no additional data structure like queues and linkedlists and array lists
find the most frequent element in an integer array
Find two smallest elements in an unsorted array using only one pass i.e. O(n)
When you type in google.com what happens?
you are given a list of minutes to perform some tasks such as [2, 6, 3, 4, 1, 7, 2]. what least time it will take if two workers work in parallel and perform those tasks in sequential order?
If you were going to build an application, what language would you choose?
2. Algorithm question (given two lists of arrays, check whether the first string can be generated by characters in the second string)
If you have a point on 2d plane, and you have a closed contour, how can you decide if the point lies inside the contour or outside the contour?
1 different weight object out of 8, how to find with least measurement.
Viewing 3231 - 3240 interview questions