Back to Browse

TOP K FREQUENT WORDS| LEETCODE 692 | PYTHON CUSTOM HEAP SOLUTION

8.0K views
Jan 18, 2024
13:38

Channel Discord Community: https://discord.com/invite/s8JX2ARnSg Problem Link: https://leetcode.com/problems/top-k-frequent-words/description/ Today we are solving a very cool question that involves an approach that we actually rarely see on Leetcode. We'll be writing some custom class which will allow us to compare multiple properties at once when using a Min-Heap 🤯 TIMESTAMPS 00:00 Intro 00:07 Question Prompt 00:24Basic Example 01:32 Solution Intuition 3:19 Coding 11:40 Time/Space Complexity 12:40 Outro

Download

1 formats

Video Formats

360pmp413.8 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

TOP K FREQUENT WORDS| LEETCODE 692 | PYTHON CUSTOM HEAP SOLUTION | NatokHD