Pergunta de entrevista da empresa Fractal

Given some coding questions , you will need to solve it on real time