Pregunta de entrevista de XYZ (Turkey)

Asked some coding questions regarding data structures