I sometimes try phone interviews with companies. It is both a refreshment for me and a fun way to challenge yourself. These questions are easy ones though, but can be noted.
- Find duplicate element in an N array.
- [1,2,3,4,5,4] > 4
- Given earth and 1 billion star location, find 100 closest stars to earth
- locations in 3d
- Write parseInt function in Java.
- 123 > 123
- 123.00 > 123
- 123ab > Exception
- 123.ab > Exception
- 123.50 > Exception (or rounding)
- 12323123123131231231312312312 > Exception
No comments:
Post a Comment