Dynamic Programming: From Water Taps to Efficient Algorithms
One way to understand dynamic programming is to think of it as a water tap. Before having a water tap, humans had to get water from rivers, ponds, wells, and so on. This water was used for cooking, washing, drinking, and other daily tasks. However, g...
panktishah.hashnode.dev3 min read