Pregunta de entrevista de MongoDB

Standard string and array manipulation problems, (comparable to easy-to-medium difficulty on leetcode.com).