Goldman Sachs

  www.goldmansachs.com
  www.goldmansachs.com

Interview Question

Summer Technology Intern Interview New York, NY

If you have a calculator with only the number zero and

  every single operator, how can you get the number 24?
Answer

Interview Answer

3 Answers

0

(!0)+(!0) +.. so on

Anonymous on Jan 16, 2013
1

You simply do: exp(0) + exp(0) + ..... + exp(0) , since exp(0)=1 therefore if you add 1 twentyfour times then you get 24.

Anonymous on Jan 19, 2013
0

cos(0) also gives 1

thexesus on Feb 17, 2013

Add Answers or Comments

To comment on this, Sign In or Sign Up.