Houzz Interview Question

solve algorithm questions in online tech interview