scroer
Join our community
Dynamic programming question: can someone explain the array traversal? I commented out of my initial method Bc it didn’t work for house robber ii. I can’t seem to wrap my head around the solution they gave (written under “??? What”)