Pregunta de entrevista de Moveworks

leetcode question, react, system design