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

Published: 31 March 2024
on channel: 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


On this page of the site you can watch the video online Kth smallest element in an array | Kth Largest element in an array | Heap | Priority Queue with a duration of hours minute second in good quality, which was uploaded by the user Coder Army 31 March 2024, share the link with friends and acquaintances, this video has already been watched 8,182 times on youtube and it was liked by 636 viewers. Enjoy your viewing!