1stDibs.com interview question

math/logic puzzles