Placement AptitudeHardAmazon OA · CAT
A token moves from (0, 0) to (3, 3) on a grid. Each move is one unit right, one unit up, or one diagonal step up-right (from (x, y) to (x + 1, y + 1)). How many different paths are there?
- A. 20
- B. 63
- C. 51
- D. 27
Correct answer: B. 63
Group by the number k of diagonal steps: k = 0: 6!/(3! 3!) = 20; k = 1: 5!/(2! 2! 1!) = 30; k = 2: 4!/(1! 1! 2!) = 12; k = 3: 1. Total 63. 20 counts only right/up paths.
Practise more Permutations, Combinations and Probability (Placement) questionsPermutations, Combinations and Probability (Placement): notes and key points
More Permutations, Combinations and Probability (Placement) questions
- All diagonals of a convex decagon are drawn, and no three of them meet at one interior point. How many points of intersection lie strictly…
- Five cards are dealt from a well-shuffled pack of 52. What is the probability of a 'full house' (three cards of one rank and two cards of…
- Three people are chosen at random. Assuming each is equally likely to be born in any of the 12 months, what is the probability that at…
- How many 4-digit numbers have digits in non-decreasing order from left to right (for example 1123 or 4789)?
- Two different numbers are chosen at random from 1, 2, …, 20. What is the probability that their product is divisible by 6?
- A fair coin is tossed 5 times. What is the probability that no two heads come up on consecutive tosses?