interview questions shared by candidates
Why should I pay you salary? Yes, that will be the most unexpected question. Right after I joined the training, a friend who recommended me (working at a big s/w company, I cannot disclose because he is under the threat from this company) was not paid his routine salary - it was promised he will be paid a bonus. But the bonus was 3,000 first year and last year he didn't get paid. He went and asked the owner, the owner's question was "why should I pay you? You are doing a crappy job there". My friend asked me to leave if possible. I did!
10 Gbytes of 32-bit numbers on a magnetic tape, all there from 0 to 10G in random order. You have 64 32 bit words of memory available: design an algorithm to check that each number from 0 to 10G occurs once and only once on the tape, with minimum passes of the tape by a read head connected to your algorithm.