Color of the Bear

A Bear has fallen from a height of 10m from ground. It reached ground in sqrt(2) seconds. Luckily it didn’t get hurt. What color is the bear?

Just output the color. For example, following are acceptable answers.

  • White
  • Black
  • Pink
  • Brown
  • Yellow
  • Red
  • Blue
  • Green
Sign Up
to access hints and editorial solutions for Color of the Bear
Asked In:
  • Microsoft
Click here to start solving coding interview questions