Canva Interview Question

Implement a simple game (algorithm and data structure)