Cube Dev interview question

codesignal coding exercise (15 questions in 1 hour)