Can anyone please explain to me the logic behind the DP solution given by errichto in his video? like dp states and transitions.
Youtube link: https://www.youtube.com/watch?v=Y-bGsogzSsQ&t=860s&ab_channel=Errichto
Can anyone please explain to me the logic behind the DP solution given by errichto in his video? like dp states and transitions.
Youtube link: https://www.youtube.com/watch?v=Y-bGsogzSsQ&t=860s&ab_channel=Errichto