Basketball player A and B. Game 1 and 2. In both game, A has a higher shooting average than B. Is it possible that B has a higher overall shooting average. Give an example if possible.
Intern Interview Questions
249,570 intern interview questions shared by candidates
I have a 12 sided die and you have a 20 sided die. We each get two rolls and we can each chose to stop rolling on either one of the rolls, taking the number on that roll. Whoever has the higher number wins, with the tie going to the person with the 12 sided die. What is the probability that the person with the 20 sided die wins this game?
O(n) time O(1) space to print link list reversely.
Write a function that finds the minimum and maximum values within an unsorted array using divide-and-conquer.
Given the head pointers to two linked lists of unknown length, find the node of intersection if they do intersect.
Make a program that writes a Binary Search Tree to a file. Now create a program that reads those files and recreates a Binary Search Tree.
You are in a boat which is in the middle of a pond and you are holding a rock in your hand. You throw the rock into the lake. Does the water level of the lake rise?
hobbies
Find the nth fib number
An analytical question about: Say you have ten stacks of coins with ten coins in each stack, each coin weighing 1g. However, one of the stacks has 2g coins instead of 1g coins. If you have a weighing scale and can only make one measurement, how do you determine which stack of coins weighs 2g each coin?
Viewing 91 - 100 interview questions