Given a list of buying and selling prices, check if by given a new price will there be any match / transaction. buyer and seller both should get the best prices.
Software Interview Questions
550,813 software interview questions shared by candidates
given a number, how do you determine if its a power of 3?
count the number of duplicates in a binary tree in O(n) time O(1) space.
Describe your everyday work methodology
What was your most challenging bug you fixed?
What kind of data structure would you use to index annagrams of words? e.g. if there exists the word "top" in the database, the query for "pot" should list that...
You are given a random binary tree 5 / \ 4 9 / \ / \ 3 5 6 8 Write code to print it out in order level ie 5 4 9 3 5 6 8 The tree need not be balanced. Write all the datastructures for the tree and make sure that you print newlines after each level. Also write test cases to test your code.
Write an algorithm to insert a new value into a circular sorted linked list.
How would you store 1 million phone numbers?
1.How to find the nearest parent of any two nodes in a given tree. Tree has mother and father nodes.
Viewing 1541 - 1550 interview questions