3.6 of 5 7,478 reviews Redmond, WA 5000+ Employees

Microsoft Software Development Engineer I Interview Question (student candidate)

"Very simple question: There are 9 jars. 8 jars contain marbles which each marble weights 1 gram, and 1 jar contains marbles weight 1.1 gram. With a scale display number, how can define which jar contain 1.1 gram marble with only 1 scale."
Add Tags [?]
Answer Flag Question

Part of a Software Development Engineer I Interview Review - one of 3,342 Microsoft Interview Reviews

Answers & Comments

of 0
Number the jars from 1, 2, ... 9. Jar number k take k marbles.
Total have 45 marble. Now scale 45 marbles. If the scale displays 45.x, then x is the jar contains 1.1 gram marble.
- Interview Candidate on Dec 8, 2013 Flag Response

To comment on this question, Sign In with Facebook or Sign Up

Tags are like keywords that help categorize interview questions that have something in common.

Glassdoor is your free inside look at Microsoft interview questions and advice. All interview reviews posted anonymously by Microsoft employees and interview candidates.