Range Update | Min-Max Query | Lazy Propagation | Segment Tree Concepts & Qns | Video 14 | MIK

Опубликовано: 26 Июль 2026
на канале: codestorywithMIK
7,157
263

iPad PDF Notes Link - https://github.com/MAZHARMIK/Intervie...

Whatsapp Community Link : Whatsapp Community Link : https://www.whatsapp.com/channel/0029...

Must watch before this :
Range Update Query | Lazy Propagation | Segment Tree Concepts & Qns | Video 7 | codestorywithMIK -    • Range Update Query | Lazy Propagation | Se...  

Segment Tree Concepts Playlist : Range Update | Min-Max Query | Lazy Propagation | Segment Tree Concepts & Qns | Video 14 | codestorywithMIK

Hi Everyone, this is the 14th video of our Playlist "Segment Tree Concepts & Qns" by codestorywithMIK
Now we will be solving a very important concept in Segment Trees - Range Update | Min-Max Query | Lazy Propagation | Segment Tree Concepts & Qns | Video 14 | codestorywithMIK

My major focus in this video will be to explain why a normal Segment Tree is not enough and why Lazy Propagation is needed. We will deeply understand the intuition behind Range Updates and how we can still answer queries efficiently.

I will break down the thought process so clearly that Lazy Propagation will feel super natural, not scary at all. After the intuition, we will do live coding and build the full solution step by step.

Problem Name : Range Update | Min-Max Query | Lazy Propagation | Segment Tree Concepts & Qns | Video 14 | codestorywithMIK


My DP Concepts Playlist :    • Roadmap for DP | How to Start DP ? | Topic...  
My Graph Concepts Playlist :    • Graph Concepts & Qns - 1 : Graph will no m...  
My Segment Tree Concepts Playlist :    • Segment Tree | Introduction | Basics | Bui...  
My Recursion Concepts Playlist :    • Introduction | Recursion Concepts And Ques...  
Trie Playlist -    • Word Search II | Leetcode 212 | Detailed |...  
Difference Array Technique: Concepts & Qns :    • Introduction | What | How | Difference Arr...  
My Line Sweep Technique Playlist :    • Introduction | What | Why | Line Sweep Tec...  
My GitHub Repo for interview preparation : https://github.com/MAZHARMIK/Intervie...
Instagram :   / codestorywithmik  
Facebook :   / 100090524295846  
Twitter :   / cswithmik  
Subscribe to my channel :    / @codestorywithmik  


╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝

Video Summary :
This video introduces Lazy Propagation in Segment Trees to efficiently handle range updates along with range queries (min/max). Instead of updating each element individually, we defer updates using a lazy array, pushing changes down the tree only when required. This allows us to perform both updates and queries in O(log n) time, even for large ranges, making the solution highly efficient for real interview-level problems.


✨ Timelines ✨
00:00 - Introduction
00:08 - Motivation
02:18 - Prerequisite
08:38 - Complete Dry Run
21:05 - Story To Code


#MIK #mik #Mik
#coding #helpajobseeker #easyrecipes #leetcode #leetcodequestionandanswers #leetcodesolution #leetcodedailychallenge #leetcodequestions #leetcodechallenge #hindi #india #coding #helpajobseeker #easyrecipes #leetcode #leetcodequestionandanswers #leetcodesolution #leetcodedailychallenge #leetcodequestions #leetcodechallenge #hindi #india #hindiexplanation #hindiexplained #easyexplaination #interview#interviewtips #interviewpreparation #interview_ds_algo #hinglish #github #design #data #google #video #instagram #facebook #leetcode #computerscience #leetcodesolutions #leetcodequestionandanswers #code #learning #dsalgo #dsa #coding #programming #100daysofcode #developers #techjobs #datastructures #algorithms #webdevelopment #softwareengineering #computerscience #pythoncoding #codinglife #coderlife #javascript #datascience #leetcode #leetcodesolutions #leetcodedailychallenge #codinginterview #interviewprep #technicalinterview #interviewtips #interviewquestions #codingchallenges #interviewready #dsa #hindi #india #hindicoding #hindiprogramming #hindiexplanation #hindidevelopers #hinditech #hindilearning #helpajobseeker #jobseekers #jobsearchtips #careergoals #careerdevelopment #jobhunt #jobinterview #github #designthinking #learningtogether #growthmindset #digitalcontent #techcontent #socialmediagrowth #contentcreation #instagramreels #videomarketing #codestorywithmik #codestorywithmick #codestorywithmikc #codestorywitmik #codestorywthmik #codstorywithmik #codestorywihmik #codestorywithmiik #codeistorywithmik #codestorywithmk #codestorywitmick #codestorymik #codestorwithmik