GE interview question

Harder code exapmples about memory leaking.