Design a data structure that supports insert, delete min, delete max, get min, and get max, all in log(n) time.
Software Interview Questions
550,355 software interview questions shared by candidates
Given set of coins and each coin has its unique probability to be head up, say double[] probs stores the probability values for all coins, print out all different cases and accordingly probability.
To return the 'm' smallest numbers from a file of 'n' numbers
Rand(7) from Rand(5)
Write a function that divides one number by another, without using the division operator, and make it better than O(n).
get the second most highest integer from an array
The question was pretty basic and involved some data collection and analysis. I also needed to write the time complexity of my solution. In addition write several uni tests for the solution.
Given an array of sorted integers where duplicates are allowed, find the index of the first number I give you?
Implement a stack using two queues.
What is the main class in java?
Viewing 321 - 330 interview questions