Day 18 (30 Days of Code)
20 July 2023
Solved more questions on Dynamic Programming.
Loot House
A thief wants to loot houses. He knows the amount of money in each house. He cannot loot two consecutive houses. Find the maximum amount of money he can loot.
Input Format:
The ...
nirbhaycodes.hashnode.dev4 min read