codesignal Arcade Intro Solutions PS : some of these solutions might not be fully optimized, but they will do the work. Feel free to codefreind me on codesignal