R/GA interview question

Memory management