Placement AptitudeVery hardCAT · Goldman Sachs OA

A 5 × 5 array of dots (equally spaced, 4 units across) is drawn. How many squares have all four corners on these dots, counting tilted squares too?

  1. A. 30
  2. B. 40
  3. C. 55
  4. D. 50

Correct answer: D. 50

Every square fits in an upright bounding square of side k (1 to 4), and each bounding square holds k squares (one upright, k − 1 tilted). There are (5 − k)² bounding squares of side k, so the total is 1·16 + 2·9 + 3·4 + 4·1 = 50. 30 counts only upright squares.

More Permutations, Combinations and Probability (Placement) questions

Exams that ask this topic