ALGORYC Interview Question

Basic coding questions, not too advanced.