Wells Fargo interview question

Design patterns and coding on singleton