Dropbox Interview Question

Review this code and give feedback