I created a video on how to optimize Dynamic Programming problems by using 2 pointers, set, stack, binary search and segment tree. This is based on problem D. Blocking Elements
Video Link: https://youtu.be/f-_1lJo3H_M
I created a video on how to optimize Dynamic Programming problems by using 2 pointers, set, stack, binary search and segment tree. This is based on problem D. Blocking Elements
Video Link: https://youtu.be/f-_1lJo3H_M