Remove unnecessary reversed = [] from last problem