DP DP DP
Its giving me high BP. The hardest problem of the day was house robber 2. Hard problem to get through.
My first red flag of my solution was that it was so long. DP solutions should be so small, and compact, think of a mini cooper. So elegant. Efficient. Fast.
- I over complicated one problem, and confused myself. But I killed the second DP problem. I went through all the drawing phases and made it so easy to do.
- House robber 2 was just me psyching myself out. I should have just took a second to relax and think it through a bit better.
- I did include space and time complexities, so I improved !!!
- I'm so slowly getting better at DP problems, its all about practice wow.
No comments:
Post a Comment