Addepar interview question

Review the code and find the bug