Amazon interview question

Q: house robber problem of dp Q: bfs algorithm