Pregunta de entrevista de Amazon

recursive file structure coding question