Kohl's interview question

Memory management