In this video, I show you how to build a 2D prefix sum array.
Problem: https://cses.fi/problemset/task/1652/
Solution: https://github.com/Mourad-NOUAILI/ran...
00:00 Intro
00:11 Problem statement
02:24 Understand the prolem
03:07 Naive approach
03:41 Build the 2D prefix sum array
15:16 Querying
24:37 Solution of the problem
Watch video 5-Static sum queries: 2D Prefix sum array online without registration, duration hours minute second in high quality. This video was added by user Think n' Code 07 August 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 66 once and liked it 2 people.