Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
Kth smallest element in an array | Kth Largest element in an array | Heap | Priority Queue
Play lesson

DSA Playlist in C++ - Kth smallest element in an array | Kth Largest element in an array | Heap | Priority Queue

5.0 (0)
13 learners

What you'll learn

This course includes

  • 204.3 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

Heap Tree| Priority Queue | Data Structure and Algorithm | 180daysofcode #dsa #heap #india 1: Kth smallest element: https://www.geeksforgeeks.org/problems/kth-smallest-element5635/1?itm_source=geeksforgeeks&itm_medium=article&itm_campaign=bottom_sticky_on_article 2: Kth Largest Element in an Array: https://leetcode.com/problems/kth-largest-element-in-an-array/description/ 3: Kth largest element in a stream: https://www.geeksforgeeks.org/problems/kth-largest-element-in-a-stream2220/1?page=1&difficulty%5B%5D=1&category%5B%5D=Heap&sortBy=submissions 4: Sum of elements between k1'th and k2'th smallest elements: https://www.geeksforgeeks.org/problems/sum-of-elements-between-k1th-and-k2th-smallest-elements3133/1?page=1&difficulty%5B%5D=0&category%5B%5D=Heap&sortBy=submissions 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/folders/1N9UUtFHRe5a8h1vq3iEVEyvXM5sZDRHv?usp=sharing Join Our Whatsapp Channel: https://whatsapp.com/channel/0029Va6H0tbHVvTbcuT99Y1f 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

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

Related Courses

FAQs

Course Hive
Download CourseHive
Keep learning anywhere