Kth smallest element in an array | Kth Largest element in an array | Heap | Priority Queue

Veröffentlicht am: 31 März 2024
auf dem Kanal: Coder Army
8,182
636

Heap Tree| Priority Queue | Data Structure and Algorithm | 180daysofcode #dsa #heap #india

1: Kth smallest element: https://www.geeksforgeeks.org/problem...
2: Kth Largest Element in an Array: https://leetcode.com/problems/kth-lar...
3: Kth largest element in a stream: https://www.geeksforgeeks.org/problem...
4: Sum of elements between k1'th and k2'th smallest elements: https://www.geeksforgeeks.org/problem...

00:00 Introduction
1:29 Problem 1 - Method 1 - Kth smallest Element (Brute Force)
3:51 Calculating Time and Space Complexity
5:23 Method 2 - Kth Smallest Element ( using min heap)
9:36 Calculating Time and Space Complexity
12:30 Method 3 - Kth Smallest Element
25:41 Calculating Time and Space Complexity
31:05 Code Part - Kth Smallest Element
35:22 Problem 2 - Kth Largest Element
43:11 Calculating Time and Space Complexity
45:58 Code Part - Kth Largest Element
50:28 Problem 3 - Kth Largest Element in a Stream (HomeWork)
52:33 Problem 4 - Sum of element between K1 and K2 Smallest Element
53:31 Method 1 - Sum of element between K1 and K2 Smallest Element
54:38 Method 2 - Sum of element between K1 and K2 Smallest Element
59:40 Code Part - Sum of element between K1 and K2 Smallest Element
1:06:14 Last Note



Home work sheet: https://drive.google.com/drive/folder...
Join Our Whatsapp Channel: https://whatsapp.com/channel/0029Va6H...

Day 188/180, #180daysofcode #180 hard

We are doing 180 days challenge and going to complete the whole course within the duration with quality content on Youtube. I am on the mission to create a tech revolution in our country and in upcoming future we want to create a tech which will create many jobs in India.

Video will come on Mon-Fri at 6am in the morning

DSA Course for free
C++ Free Course
Rohit Negi DSA Course C++
Coder Army DSA Course c++
Function in C++
Pointers in C++.
Strings
Vector
Introduction to Recursion


connect to me on Instagram: https://rohit978.page.link/insta
Linkedin: https://rohit978.page.link/linkedin
Telegram: https://rohit978.page.link/telegram


Auf dieser Seite können Sie das Online-Video Kth smallest element in an array | Kth Largest element in an array | Heap | Priority Queue mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer Coder Army 31 März 2024 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 8,182 Mal angesehen und es wurde von 636 den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!