This one is a simple algorithm question.
There are ‘n’ numbers. Maximum of the ‘n’ numbers can be found in (n-1) comparisons, similarly minimum can be found in (n-1) comparisons. In total there would be (2n-2) comparisons. Can you find out the maximum & minimum in lesser number of comparisons?
A farmer returning home from the market must get across the river and return home with his three purchases, a dog, a chicken and a bag of rice. However, He must take them in his boat. He can’t have more than one item with him on his boat at all times. He cannot leave [...]
Jack is looking at Anne, but Anne is looking at George. Jack is married, but George is not. Is a married person looking at an unmarried person?
C) Cannot be determined.
Most people get this wrong [...]
You throw two darts at a dart board, aiming for the center. The second lands farther from the center than the first. You then throw another dart at the board, aiming for the center. Assume your skill level is consistent. What are the chances that this third dart also lands farther from the center [...]
June 2018 M T W T F S S « Nov 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30