Rent Ready interview question

Most difficult task I encountered or so