• Skip to primary navigation
  • Skip to content
  • Skip to primary sidebar
  • Skip to secondary sidebar

GoHired

Interview Questions asked in Google, Microsoft, Amazon

Join WeekEnd Online Batch from 4-April-2020 on How to Crack Coding Interview in Just 10 Weeks : Fees just 20,000 INR

  • Home
  • Best Java Books
  • Algorithm
  • Internship
  • Certificates
  • About Us
  • Contact Us
  • Privacy Policy
  • Array
  • Stack
  • Queue
  • LinkedList
  • DP
  • Strings
  • Tree
  • Mathametical
  • Puzzles
  • Graph

Daughter’s Age VeryGood Puzzle

March 9, 2015 by Dhaval Dave

Hello folks,Today I am posting an Interview Puzzle which was asked to my friend in his Interview. This puzzle will be helpful in job interview preparation.

I have also posted many puzzles for interview before, you can read here :

1) 100 doors in a row Visit and Toggle the door. What state the door will be after nth pass ? 

2) 25 horses 5 tracks Find 3 fastest puzzle

3) N Petrol bunks or City arranged in circle. You have Fuel and distance between petrol bunks. Is it possible to find starting point so that we can travel all Petrol Bunks 

Presenting the Brain Teasers.. :D

Two MIT math grads bump into each other at Fairway on the upper west side. They haven’t seen each other in over 20 years.


the first grad says to the second: “how have you been?”
second: “great! i got married and i have three daughters now”
first: “really? how old are they?”
second: “well, the product of their ages is 72, and the sum of their ages is the same as the number on that building over there..”
first: “right, ok.. oh wait.. hmm, i still don’t know”
second: “oh sorry, the oldest one just started to play the piano”
first: “wonderful! my oldest is the same age!”

problem: how old are the daughters?

Solution: start with what you know. you know there are 3 daughters whose ages multiply to 72. let’s look at the possibilities…

Ages:            Sum of ages:
1 1 72            74
1 2 36            39
1 3 24            28
1 4 18            23
1 6 12            19
1 8 9             18
2 2 18            22
2 3 12            17
2 4 9             15
2 6 6             14
3 3 8             14
3 4 6             13

Best book to prepare for Puzzle is = >

after looking at the building number the man still can’t figure out what their ages are (we’re assuming since he’s an MIT math grad, he can factor 72 and add up the sums), so the building number must be 14, since that is the only sum that has more than one possibility.

finally the man discovers that there is an oldest daughter. that rules out the “2 6 6” possibility since the two oldest would be twins. therefore, the daughters ages must be “3 3 8”.

(caveat: an astute reader pointed out that it is possible for two siblings to have the same age but not be twins, for instance one is born in January, and the next is conceived right away and delivered in October. next October both siblings will be one year old. if a candidate points this out, extra credit points to him/her.)

this question is pretty neat, although there is certainly a bit of an aha factor to it. the clues are given in such a way that you think you are missing information (the building number), but whats important isn’t the building number, but the fact that the first man thought that it was enough information, but actually wasn’t.

If you want to buy any puzzle book I have shown above. It will be helpful in any interview puzzle :D

Want to share any question ? Solutions ? or have any company Experience ?

You can also subscribe us for more interview questions :D

Please do share with us at admin@gohired.in , As sharing is caring

 

Similar Articles

Filed Under: Microsoft Interview Questions, problem Tagged With: Puzzle

Reader Interactions

Primary Sidebar

Join WeekEnd Online/Offline Batch from 4-April-2020 on How to Crack Coding Interview in Just 10 Weeks : Fees just 20,000 INR

Join WeekEnd Online/Offline Batch from 4-April-2020

WhatsApp us

Secondary Sidebar

Custom Search

  • How I cracked AMAZON
  • LeetCode
  • Adobe
  • Amazon
  • Facebook
  • Microsoft
  • Hacker Earth
  • CSE Interview

Top Rated Questions

Find and print longest consecutive number sequence in a given sequence in O(n)

There are N nuts and N bolts, u have to find all the pairs of nuts and bolts in minimum no. of iteration

Find Nearest Minimum number in left side in O(n)

25 horses 5 tracks Find 3 fastest puzzle

BFS (Breath First Search)

write a c program that given a set a of n numbers and another number x determines whether or not there exist two elements in s whose sum is exactly x

Find an index i such that Arr [i] = i in array of n distinct integers sorted in ascending order.

TicTacToe Game As Asked in Flipkart

Naurki.com Security Breach

Add Sub Multiply very large number stored as string

Hackerearth : Counting Subarrays

Given array of 0’s and 1’s. All 0’s are coming first followed by 1’s. find the position of first 1

Reliance Jio Software Developer Interview Experience

The greedy coins game Dynamic Programming

CodeChef Code SGARDEN

Urban Ladder Written Test.

Find if a binary tree is height balanced ?

Generate largest number arranging a no. of given non negative integer numbers

Apriori algorithm C Code Data Mining

N teams are participating. each team plays twice with all other teams. Some of them will go to the semi final. Find Minimum and Maximum number of matches that a team has to win to qualify for finals ?

Find two non repeating elements in an array of repeating elements

Search element in a matrix with all rows and columns in sorted order

Printing each word reverse in string

Test Cases for Round Function

LeetCode: Container With Most Water

Minimum insertions to form a palindrome

Trie Dictionary

Count Possible Decodings of a given Digit Sequence

Right view of Binary tree

Get Minimum element in O(1) from input numbers or Stack

Copyright © 2025 · Genesis Framework · WordPress · Log in