Cisco interview question

house robber, maximum difference, rotate matrix