2D Prefix Sum Interview Pattern | 2132 Stamping The Grid: Leetcode Hard

Solving a Leetcode Hard Problem, Stamping The Grid which beautifully uses 2D Prefix Sum Pattern Twice.
Solving this problem will solidify your grasp on this concept
Problem Link: leetcode.com/problems/stampin...
Connect with me on Linkedin: / bharat-khanna-717b4817b
Connect on Insta: / bharatkhanna1995
00:00-04:47 Problem Description & Explanation
04:48-09:15: Brute Force Idea
09:16-10:41 Optimising stamp position check
10:42-15:13 Optimising placing stamp
15:14-17:38 Analogy of placing stamp with similar 1D problem
17:39-23:20 Code

Пікірлер: 3

  • @sarcastic5561
    @sarcastic55614 ай бұрын

    Thankyou bhaiya for this video please keep making videos on pattern that asked in OAs

  • @CodingwithBharat

    @CodingwithBharat

    4 ай бұрын

    Sure!

  • @Insidious847
    @Insidious8474 ай бұрын

    also try to discuss codeforces contest questions please