Assume there is a method provided getNextperson() which gives Person objects which have comparable interface implemented, now read from a file records and sort it and give first 1000 records, write code on the paper
Programmers Interview Questions
22,436 programmers interview questions shared by candidates
how many primly key in the data base
Use 10 trees and plant them in 4 rows such that each row has atleast 4 trees
What is java?
They asked me if I am capable to be relocated to multiple places.
How do you find the max depth of a binary tree?
How to print "hello world" by using following if else block: if(write any condition you want) printf("World"); else printf("Hello"); I answered them that we can use goto statement, but he expected other answer that i didn't know at that time.
It was easy... consist of puzzles & case studies.
How to check if a number is even or odd without using % or / ?
How to find that a given number is even or odd without using (if, else, any loop, conditional operator ,switch). You can use only a "%" sign.
Viewing 11 - 20 interview questions