J.P. Morgan Interview Question

Describe your method you go through when writing a program