Dropbox Interview Question

The final question was now given your algorithms compute the complexity of them.

Interview Answers

Anonymous

Nov 5, 2011

The first algorithm is linear.

Anonymous

Oct 18, 2012

The first is linear, and the second is (I think) n^2.