MISSING VALUE Interview Questions

6,570,074 interview questions shared by candidates

In a dark room, you have a stack of cards in which 10 cards face upwards. These are randomly distributed in the stack. How would you split the cards into two parts such that both have equal number of cards facing upwards?
avatar

ARC Analyst

Interviewed at Nielsen

3
Feb 24, 2014

In a dark room, you have a stack of cards in which 10 cards face upwards. These are randomly distributed in the stack. How would you split the cards into two parts such that both have equal number of cards facing upwards?

You have 9 marbles which are all the same weight, except for one which is slightly heavier than the others. You also have an old?style balance, which allows you to weigh two piles of marbles to see which one is heavier (or if they are of equal weight). What is the fewest number of weighings that you can make which will tell you which marble is the heavier one ?
avatar

Quality Assurance Engineer

Interviewed at AppLogic Networks

3.7
Sep 26, 2012

You have 9 marbles which are all the same weight, except for one which is slightly heavier than the others. You also have an old?style balance, which allows you to weigh two piles of marbles to see which one is heavier (or if they are of equal weight). What is the fewest number of weighings that you can make which will tell you which marble is the heavier one ?

Given an input string and a dictionary of words, find out if the input string can be segmented into a space-separated sequence of dictionary words. You need to output the minimum number of words. For example, input: "aaaisaname" dict: ("a", "aaa", "is", "name") output: "aaa is a name" Wrong output: "a a a is a name"
avatar

Software Engineer

Interviewed at Pinterest

3.6
Feb 5, 2014

Given an input string and a dictionary of words, find out if the input string can be segmented into a space-separated sequence of dictionary words. You need to output the minimum number of words. For example, input: "aaaisaname" dict: ("a", "aaa", "is", "name") output: "aaa is a name" Wrong output: "a a a is a name"

Viewing 3441 - 3450 interview questions

Glassdoor has 6,570,074 interview questions. Prepare for your interview. Get hired. Love your job.