Special Binary String | Detailed Intuition | Dry Run | Leetcode 761 | codestorywithMIK
Автор: codestorywithMIK
Загружено: 2026-02-19
Просмотров: 10895
Описание:
Whatsapp Community Link : https://www.whatsapp.com/channel/0029...
Recursion Concepts Playlist : • Introduction | Recursion Concepts And Ques...
Hi Everyone, this is the 12th video of our Playlist "Recursion : Popular Interview Problems".
Now we will be solving an extremely good Recursion based problem - Special Binary String | Detailed Intuition | Dry Run | Leetcode 761 | codestorywithMIK
I will explain it in full detail so that it becomes easy to understand. We will find the reason behind everything so that we understand why we did what we did.
And we will do a complete dry run.
Problem Name : Special Binary String | Detailed Intuition | Dry Run | Leetcode 761 | codestorywithMIK
Company Tags : Coursera, Quip
Code Github(C++ & JAVA) : https://github.com/MAZHARMIK/Intervie...
Leetcode Link : https://leetcode.com/problems/special...
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...
Line Sweep Technique : • Introduction | What | Why | Line Sweep Tec...
Java Dopamine Videos : • Can You Answer This Java Interview Questio...
Monotonic Data Structure Concepts & Qns : • Monotonic Data Structures Concepts & Qns
My GitHub Repo for interview preparation : https://github.com/MAZHARMIK/Intervie...
Instagram : / codestorywithmik
Facebook : / 100090524295846
Twitter : / cswithmik
Subscribe to my channel : / @codestorywithmik
╔═╦╗╔╦╗╔═╦═╦╦╦╦╗╔═╗
║╚╣║║║╚╣╚╣╔╣╔╣║╚╣═╣
╠╗║╚╝║║╠╗║╚╣║║║║║═╣
╚═╩══╩═╩═╩═╩╝╚╩═╩═╝
Video Summary :
A special binary string behaves like balanced parentheses, so we scan it and split it into the smallest valid special chunks using a counter.
For each chunk, we recursively rearrange its inner part to make it as large as possible.
Then we sort all these valid chunks in descending order so bigger patterns come first.
Finally, we join them together, that greedy sorting step is what guarantees the overall largest result.
✨ Timelines✨
0:00 Introduction
0:16 Motivation
0:47 Problem Explanation
4:38 Thought Process - Why Recursion
15:10 Applying Recursion Leap Of Faith
24:19 Story To Code
29:06 Coding it up
32:09 Time Complexity
#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
Повторяем попытку...
Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: