Dropbox interview question

Review this code and give feedback