Pregunta de entrevista de AKUNA CAPITAL

Implement algorithm within certain time complexity