J.P. Morgan interview question

Is this code working and how do you test it?

Interview Answer

Anonymous

25 May 2018

units tests + end to end tests