Times Internet interview question

programming, thinking , problem solving , random java questions ,