You are playing a game in which four fair coins are flipped and the amount of money you receive in dollars is equal to the number of heads that appear in total. If you do not like the outcome of the first four flips, you have the option to re-flip the four coins, but you are obligated to take the second outcome. Determine a fair value fr the game.
Intern Interview Questions
248,705 intern interview questions shared by candidates
Find the length of the longest chain of consecutive integers in an unsorted set in linear time.
Why Southwest?
Given a binary tree, which is not necessarily balanced, print the nodes in the tree in a level-wise manner. Also, nodes on the same level should be printed on a single line. A modification of the question was added later in which I cannot really add a "level" variable in the structure of the node in the tree.
Got asked two questions: 1 - Return the length of the longest sequence of increasing numbers in an unsorted array 2 - Print out a Binary Tree level by level
Given a collection of words, return a collection of anagrams found in the given collection
Given a log of users visit to a site for a day, how would you find returning users given the log visit for another day
Write a program to find the square root of a double.
3 words to describe yourself
was very informative of the company and set out their expectations. Just wanted to get a sense of who you were and why you wanted to work there, where you see yourself after type of thing.
Viewing 181 - 190 interview questions