MathWorks Interview Question

pigeonhole principle