This man from IIT GUWAHATI IS SHAPING OUR FUTURE ❤❤
@MrAnon079 ай бұрын
Really helpful videos♥ 1:21:48 Last tak
@utkarshsingh09Ай бұрын
For students coming to see review of his videos "I gotta tell you, It was perfect. Perfect. Everything, down to the last minute details.
@ShivshankarKumaryadav-m4f20 күн бұрын
1:21:56 last take Thanks bhaiya and thanku coder army
@allinonemoviesyt9 ай бұрын
00:02 Understanding and solving heap related problems 02:23 Understanding the concept of heap height in detail 06:55 Understanding the height formula of the heap 09:07 Logic behind multiple divisions and height calculation 13:25 Finding minimum cost of connecting ropes 15:31 Finding the minimum cost of connecting ropes 22:03 Explaining the process of shifting elements in solving a problem 25:48 Shifting elements to maintain order in a heap 28:01 Understanding and using Min Heap in priority 31:58 Priority order for inserting and removing elements in a heap 33:49 Efficiently perform log operations and cost calculations 37:35 Optimizing insertion process using priority queue 39:16 Creating and using heaps to solve problems 43:21 Magician demonstrating a chocolate eating trick with a twist 45:20 Solving chocolate distribution problem with strategic approach 49:10 Implementing a heap and sorting the elements 51:02 Understanding time complexity of heap operations 54:48 Understanding the time complexity of heap operations 56:26 Implementing priority queue utilizing heap for maintaining a min heap structure. 1:00:11 Selecting the heaviest stones based on weight. 1:02:02 Collision of stones in a heap 1:05:48 Explanation of the process of removing elements from a heap 1:07:23 Returning the top element of a priority queue after certain operations. 1:11:26 Maximize profit by selecting and selling seats strategically 1:13:21 Select the maximum value and perform delete and insert operations simultaneously. 1:16:56 Understanding and implementing heap data structure 1:18:50 Implementation of a heap algorithm
@CoderArmy99 ай бұрын
Thanks
@study-yd6es15 күн бұрын
Amazing Lectures!! This playlist is going to boom so much in the future
@anshror25838 ай бұрын
Bro has some serious teaching skills wow well done rohit bhaiya
@bharatmalik27569 ай бұрын
Bhaiya OP content and mind blowing explanation 😼
@rajnishrajain50035 ай бұрын
NO ONE CAN GIVE THIS LEVEL OF EXAPLATION🔥🔥
@asad_iliyas6 ай бұрын
Bhaiya you have increased our level so much that now these easy questions doesn't excites me. Please do some hard level questions.
@pranavmittal96199 ай бұрын
Learning : every second important just go with the flow and embrace in mind and make notes and do revision
@Aniruddha_Mukherjee9 ай бұрын
Last Stone Weight : _________________________________________________ int lastStoneWeight(vector& stones) { priority_queue q; for (int i = 0; i < stones.size(); ++i) { q.push(stones[i]); } int first = 0; int second = 0; while (q.size() > 1) { first = q.top(); q.pop(); second = q.top(); q.pop(); int dif = abs(first - second); if (dif > 0) { q.push(dif); } } return (q.size() > 0 ? q.top() : 0); }
@be_a_DT7 ай бұрын
Really helpful videos 1:21:48 Last tak
@sonumondal779817 күн бұрын
maja aa gaya bhaiya sare problem khud se solve ho gye heap padhne ke baad❤❤
@nikhilrai6373Ай бұрын
your DSA course is more comprehensive than others ❤❤
@sumangoswami5764 ай бұрын
last tak dekh liya bhaiya bhot badiya lecture the 🙂🙂🙂
@heetpatel30376 ай бұрын
Jai shree Ram ❤️ ek dum OP content bhaiya what an explanation. :::))
@rajurock94793 ай бұрын
Nice ❤❤ best series on heap concept chamka gaya
@SeetaramSharma-ku7oy4 ай бұрын
Seriously teaching no backwas Rohit bhaiya ki jay ho
@aakashy_073 ай бұрын
Thankyou bhaiya.. Priority queue✅🤙🏻
@divyanshsharma6739 ай бұрын
Great Lecture as always !! 🔥🗿
@sachinprajapati8159 ай бұрын
last stone weight came in my drive question but i did not know priority queue so I could not solve it. thank you bhaiya ❤❤.
@CoderArmy99 ай бұрын
Ab lag rha hga, ye toh bacho wala question th..
@Aniruddha_Mukherjee9 ай бұрын
Problem 6 : ___________________________________________________ int Solution::solve(vector &A, int B) { priority_queue q; for(int i = 0; i
@ranjeetguptaiitm28529 ай бұрын
very nice explanation🥰🥰
@Sanataniblood-mb5pu5 ай бұрын
Thanks bhaiya ❤️🙏🏻 Another wonderful lecture bhaiya ❤❤
@dhruv121515 ай бұрын
Superb lecture bhaiya 👍👍👍👍👍
@Child-game-13 ай бұрын
wonderful sir
@zafrul_islam7 ай бұрын
Bhaiya maja aa gya array and heap wala concept sikh kar ke ki kb array ka use karna hai and kb heap ka 🔥🔥🔥🔥
@AbhinavShinde-gr4bt5 ай бұрын
superb lecture
@vinodbarti92377 ай бұрын
Thnks Bhaiya Able To Solve 2 Question By Self 😀😀
@aakankshasharma-h7f7 ай бұрын
Bhaiya you are really amazing .Thankyou so much
@rejaulislam25933 ай бұрын
last tak...alhamdulillah...may allah bless u
@Sanataniblood-mb5pu5 ай бұрын
1:21:58 Last tak ❤❤
@SUN_SUN25 ай бұрын
last tak Amazing lec
@punitsharma5843 ай бұрын
nyc completed this
@shubhamkumarjha91929 ай бұрын
Good evening bhaiya ji. 💖
@akshaythakur42318 сағат бұрын
Wow ❤❤
@Ramankumar-lo4hv3 ай бұрын
chamak chuka hh bhaiya ji😁
@utkarshsingh09Ай бұрын
1:21:53 Last Tak 🎉
@Aniruddha_Mukherjee9 ай бұрын
Problem 5 : ____________________________________________ /* function parameter names have been changed for simplicity */ long long pickGifts(vector& B, int A) { priority_queue q; long long sum = 0; for(int i = 0; i
@virvalgyan42633 ай бұрын
❤
@arnavgupta5830Ай бұрын
class Solution{ public: int heapHeight(int N, int arr[]){ // code here int height=-1; for(int i=0; i
@dayashankarlakhotia49439 ай бұрын
static int heapHeight(int N,int[]arr){ return (int)(Math.log(N)/Math.log(2)); }
@Vardanaggarwal8 ай бұрын
amazing.
@GauravKumar-jw3fu9 ай бұрын
RAdhe- RAdhe BHaiya Ji❤
@YashSaini0079 ай бұрын
Bhaiya Radhe Radhe 🙏
@ankitchoudhary29148 ай бұрын
LOved 2Days' class
@Noobiee_FPS8 ай бұрын
last tak dekh ke smjh aa gya bhaiya kab heap ko use krna h
@amannegi18174 күн бұрын
Chamakgya bheji❤
@chanchalsoni75355 ай бұрын
aap nahi hote to itne hajaro learners ka kya hota🥺🥺.....#lifeSaviour😇
@AbhishekKumar-lp7wy9 ай бұрын
Good night bhaiya ji
@divyanshsharma6739 ай бұрын
लास्ट तक 🎉
@AnshuKumari-gz7ju22 күн бұрын
thank u bhaiya
@RJFF3-r7w8 сағат бұрын
last tak,pura chamak gaya...
@manish_kumar_iitg2 ай бұрын
Problem 5:- long long pickGifts(vector& gifts, int k) { priority_queuep; for(long long i = 0; i< gifts.size(); i++){ p.push(gifts[i]); } while(k--){ p.push(sqrt(p.top())); p.pop(); } long long ans = 0; while(!p.empty()){ ans += p.top(); p.pop(); } return ans; }
@vijaysingh-n6p9jАй бұрын
bhaiya mja aa gya
@Sumit-wy4zp8 ай бұрын
Rohit Bhai Please project ke upper ek video chahiye . pichle 1 saal se dsa kar raha hun but projects ka koi idea nahi hai. abhi 6th sem me hun.. bahut demotivate feel kar raha hun
@zafrul_islam7 ай бұрын
@CoderArmy9 haan bhaiya please
@saketjaiswalSJ7 ай бұрын
hacker or wott thanks bhai
@sbworld139 ай бұрын
❤️✨🔥
@YashSaini0079 ай бұрын
Day - 184 #180DaysOfCode
@heetsheth64026 ай бұрын
Last Tak ❤❤❤❤
@heetpatel30376 ай бұрын
Last tak ❤️
@kuldeepparmar98618 ай бұрын
last tk chamak gya
@Xcoder__19572 ай бұрын
❤
@allinonemoviesyt8 ай бұрын
1:10:11 Homework Question class Solution { public: long long pickGifts(vector& gifts, int k) { priority_queue pq; for(int i:gifts) pq.push(i); while(!pq.empty() && k--){ pq.push(floor(sqrt(pq.top()))); pq.pop(); } long long ans = 0; while(!pq.empty()){ ans += pq.top(); pq.pop(); } return ans; } };
@itshirdeshk8 ай бұрын
Day 184 ✅🔥
@mohit62159 ай бұрын
last tak kon kon tha
@deepfan149 ай бұрын
Bro is this is good or not
@deepfan149 ай бұрын
Should I do this or course of c++ by codehelp-by babbar
@mohit62158 ай бұрын
It is awesome ❤
@JHARAJESHRAMAN8 ай бұрын
bhaiya JS ka badle full stack development jo bhi sahi rahe vo launch kardo aap🙏
@Aniruddha_Mukherjee9 ай бұрын
problem no : 1 ______________________________________ long long minCost(long long arr[], long long n) { // Your code here priority_queue pq; long long int ans = 0; for(int i = 0; i 1) { first = pq.top(); pq.pop(); second = pq.top(); pq.pop(); ans+=first+second; pq.push(first+second); } return ans; }
@ManojSinghRawat-x2w8 ай бұрын
last tak😎
@Aniruddha_Mukherjee9 ай бұрын
🥰🥰
@pranavmittal96199 ай бұрын
Last Tak 🎉 vo bhi bina skip kare
@tradun.s97605 ай бұрын
last tak 🤟🤟
@AMITKUMAR-ds4hp9 ай бұрын
Hi boss
@ShubhamKumar-vk8me8 ай бұрын
Chamak gaya bhaiya
@akashparashar18515 ай бұрын
antim tak
@OnlyPc-c9n4 ай бұрын
last tak ❤
@pankajdubey11239 ай бұрын
thinking process ++++++
@Aniruddha_Mukherjee9 ай бұрын
last tak 🤩
@anuragpandey7159 ай бұрын
last tak 🤗🤗🤗🤗🤗🤗
@deepfan149 ай бұрын
I am think to try this course can plz some one tell me that does this course teach you all concept with in-depth knowledge
@CoderArmy98 ай бұрын
Bro aap first lecture dekh lo, aapko answer mil jaayega..
@deepfan148 ай бұрын
Thanks ❤
@wisdomMate9 ай бұрын
Chamka++
@NitinSingh-zy8io6 ай бұрын
QUESTION:1 MOST UNIQUE SOLUTION ALL OVER THE INTERNET class Solution{ public: int heapHeight(int N, int arr[]){ // code here int count=0; for(int i=1;i
@maheshpatil17503 ай бұрын
last tak.....😁
@VivekGupta-rw6oo9 ай бұрын
Bhaiya last tak
@darshanrathod-c1h9 ай бұрын
@Rahul-cn8bq4 ай бұрын
heap++
@kirankarakalli14089 ай бұрын
Lasttak
@vaishalichoudhary59 ай бұрын
Last tk:)
@defenceboimotivation6 ай бұрын
lasttak
@vivekpaliwal18767 күн бұрын
Aap q.top() and q.pop() Do steps me kyu krte ho? Simple ek line me ho skta h...q.pop() likho bss
@avinash24219 ай бұрын
Last Tak
@SmritiSharma-vv7ib3 ай бұрын
Last tak bro
@anuragrajput46138 ай бұрын
Last tak
@nepalihoni92135 ай бұрын
op op
@PradeepKumar-bc1ez4 ай бұрын
Last tk
@pankajdubey11239 ай бұрын
last tak
@jagriti48139 ай бұрын
Brother ik TRIES topic in c pr bhi vdo needed h.@coderarmy
@CoderArmy99 ай бұрын
Tries, segment tree , fenwick Tree last mein cover hga, don't worry...