Microsoft Interview Question

How would you test the function above?

Interview Answer

Anonymous

Jan 2, 2011

They were looking for programmatic test (not just manual verification).