Pregunta de entrevista de Nutanix

Data structures white board problem solving. Nothing different.