Canva Interview Question

About time complexity and other algorithm questions.