Coding Blocks interview question

Nothing much its good work and learing