Kth Missing Positive Number (LeetCode 1539) | Full Solution with intuition, animations and visuals

Nikhil Lohia
Nikhil Lohia
1.8 هزار بار بازدید - 3 ماه پیش - Join this channel to get
Join this channel to get access to perks: @nikoo28

Actual Problem: https://leetcode.com/problems/kth-mis...

Chapters:
00:00 - Intro
00:44 - Problem Statement
03:47 - Thought process
09:02 - One more test case
12:26 - Using Binary Search
13:52 - Dry-run of Code
15:04 - A special case
17:13 - Final Thoughts

📚 Links to topics I talk about in the video:
Array Data Structure: Array Data Structure explained with V...
Binary Search: Binary Search Algorithm with step-by-...
Divide and Conquer: Divide and Conquer algorithms with re...
What is Big O?: Big O Notation Simplified to the MAX ...
Time Complexity of an algorithm: What is the Time Complexity of an Alg...
Other Problems on Arrays: Arrays

📘 A text based explanation is available at: https://studyalgorithms.com

Code on Github: https://github.com/nikoo28/java-solut...
Test-cases on Github: hhttps://github.com/nikoo28/java-solut...

📖 Reference Books:
Starting Learn to Code: https://amzn.to/3sJm8Wl
Favorite book to understand algorithms: https://amzn.to/4848xJH
Favorite book for data structures: https://amzn.to/3P96YBv
Get started for interview preparation: https://amzn.to/44Nn5du

🔗 To see more videos like this, you can show your support on: https://www.buymeacoffee.com/studyalg...

🎥 My Recording Gear:
Recording Light: https://amzn.to/3PdsViT
Microphone: https://amzn.to/3Exv83x
Recording Camera: https://amzn.to/3PwyN8e
Tablet to sketch and draw: https://amzn.to/3ZdKVy7
Sketching Tool: https://amzn.to/45XJEgY
Laptop to edit videos: https://amzn.to/460ofDu


💻 Get Social 💻
Follow on Facebook at: Facebook: studyalgos
Subscribe to RSS feeds: https://studyalgorithms.com/feed/
Join fan mail: http://eepurl.com/g9Dadv

#leetcode #programming #interview
3 ماه پیش در تاریخ 1403/01/26 منتشر شده است.
1,820 بـار بازدید شده
... بیشتر