MathWorks interview question

- Hash collisions - DP medium problem