Charles Schwab interview question

How would you refactor this code?

Interview Answer

Anonymous

18 Jun 2016

See code.

11