几道英语面试题
一、Binary Search and it's use
二、Suppose you have 10000 Electronic circuits in hand.
Now more than half of those circuits are good and rest are bad. There is only one way to find out if a circuit is good or bad. You have to compare the circuit with another circuit. Suppose you want to find out if circuit A is good or bad. You compare it with another circuit B. Now if B is a good circuit it will tell you the truth about A.
But if B is a bad circuit it's answer about a is not reliable. Write a function to find out one good circuit.
第一道有点难
大家帮忙看下