SciPlay interview question

Logical thinking question, 2 algorithm questions 2 technical questions