Amazon interview question

Memory management