Pregunta de entrevista de Apple

RAG concept, code question is common leetcode style