I don't remember what to solution was exactly but the game's wiki on miraheze has a detailed walkthrough put up about the apartments with the solution to each riddle