Pregunta de entrevista de IoTium

Usual leet code code question from medium to hard level