Capacity to Ship Packages Within D Days (LeetCode 1011) | Full Solution with visuals and animations

  Рет қаралды 998

Nikhil Lohia

Nikhil Lohia

Күн бұрын

Join this channel to get access to perks: / @nikoo28
Actual problem on LeetCode: leetcode.com/problems/capacit...
Chapters:
00:00 - Intro
00:39 - Problem Statement
01:59 - A visual explanation
06:28 - Brute force Solution
10:30 - Efficient Solution
13:35 - Dry-run of Code
16:47 - Final Thoughts
📚 Links to topics I talk about in the video:
Binary Search Method: • Binary Search Algorith...
Divide and Conquer: • Divide and Conquer alg...
What is Big O?: • Big O Notation Simplif...
Other Medium Problems: • Medium Problems
📘 A text based explanation is available at: studyalgorithms.com
Code on Github: github.com/nikoo28/java-solut...
Test-cases on Github: github.com/nikoo28/java-solut...
📖 Reference Books:
Starting Learn to Code: amzn.to/3sJm8Wl
Favorite book to understand algorithms: amzn.to/4848xJH
Favorite book for data structures: amzn.to/3P96YBv
Get started for interview preparation: amzn.to/44Nn5du
🔗 To see more videos like this, you can show your support on: www.buymeacoffee.com/studyalg...
🎥 My Recording Gear:
Recording Light: amzn.to/3PdsViT
Microphone: amzn.to/3Exv83x
Recording Camera: amzn.to/3PwyN8e
Tablet to sketch and draw: amzn.to/3ZdKVy7
Sketching Tool: amzn.to/45XJEgY
Laptop to edit videos: amzn.to/460ofDu
💻 Get Social 💻
Follow on Facebook at: / studyalgos
Subscribe to RSS feeds: studyalgorithms.com/feed/
Join fan mail: eepurl.com/g9Dadv
#leetcode #programming #interview

Пікірлер: 7
@user-mk7qi6gc2m
@user-mk7qi6gc2m Ай бұрын
Hey Nikhil please recommend me a DSA sheet
@myselfSrijit
@myselfSrijit Ай бұрын
Best approach
@Homelander_30
@Homelander_30 Ай бұрын
Bro, collection framework lectures please?
@urvashichaurasia6284
@urvashichaurasia6284 Ай бұрын
Please make more video on interview questions
@nikoo28
@nikoo28 Ай бұрын
what questions are you looking for?
@piyushranjan5910
@piyushranjan5910 Ай бұрын
Sir I've a better approach for this We can set the minimum value to the (maximum value/no of days) Because the range can better shorten by this logic.
@nikoo28
@nikoo28 Ай бұрын
that is also a way to make things quicker. but the worst case time complexity will still remain the same :)
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 115 МЛН
Slow motion boy #shorts by Tsuriki Show
00:14
Tsuriki Show
Рет қаралды 10 МЛН
Comfortable 🤣 #comedy #funny
00:34
Micky Makeover
Рет қаралды 14 МЛН
BS-15. Capacity to Ship Packages within D Days
20:36
take U forward
Рет қаралды 83 М.
Max Consecutive Ones (LeetCode 1004) | Full Solution w/ animations
14:41
Capacity to Ship Packages - Leetcode 1011 - Python
12:25
NeetCodeIO
Рет қаралды 19 М.
World’s Largest Jello Pool
01:00
Mark Rober
Рет қаралды 115 МЛН