Wells Fargo interview question

OOPS, Design Patterns, Memory Management