Placement AptitudeVery hardProduct company OA · CAT level
A robot walks on a grid from (0, 0) to (6, 4), each step one unit east or one unit north. It is never allowed to be at a point where its y-coordinate exceeds its x-coordinate. How many routes are possible?
- A. 210
- B. 90
- C. 84
- D. 120
Correct answer: B. 90
All routes: C(10, 4) = 210. A bad route first touches the line y = x + 1; reflecting the part before that touch in this line maps it to a route from (−1, 1) to (6, 4), i.e. 7 east and 3 north steps: C(10, 3) = 120 bad routes. Good routes: 210 − 120 = 90. 120 is the number of bad routes; 84 = C(9, 3) uses the wrong reflection point.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- How many ordered pairs (a, b) of positive integers have lcm(a, b) = 720?
- 6 different gifts are given to 4 children so that every child gets at least one gift and a particular child, Kavya, gets exactly two. In…
- A standard pack of 52 cards is shuffled and cards are turned over one by one. What is the expected position of the first ace?
- 2% of a population has a certain condition. A test detects it in 90% of people who have it and gives a false positive for 10% of people…
- Three fair dice are rolled. Given that the largest of the three numbers is exactly 5, what is the probability that their sum is at least 12?
- Three identical red, three identical blue and three identical green balls are arranged in a row. In how many arrangements are no two balls…