Pregunta de entrevista de X

Describe how you will code an infinite loop problem