No video

Boats to Save People (LeetCode 881) | Full Solution with diagrams and visuals | Greedy

  Рет қаралды 2,446

Nikhil Lohia

Nikhil Lohia

Күн бұрын

Join this channel to get access to perks: / @nikoo28
Actual problem on LeetCode: leetcode.com/problems/boats-t...
Chapters:
00:00 - Intro
00:53 - Problem Statement
05:12 - Brute Force Method
07:05 - Two pointer approach (Greedy)
10:47 - Dry-run of Code
13:50 - Final Thoughts
📚 Links to topics I talk about in the video:
Greedy Algorithms: • Greedy Algorithms with...
Brute Force Method: • Brute Force algorithms...
Playlist on Arrays: • Arrays
Other medium difficulty 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

Пікірлер: 12
@anmolpatel793
@anmolpatel793 5 ай бұрын
For the first time ever my intuition matched exactly with yours Nikhil
@nikoo28
@nikoo28 4 ай бұрын
that is so great to hear :)
@rudreshcm4172
@rudreshcm4172 4 ай бұрын
Best ever visualisation and translating thought process to code. Great job Nikhil.
@GoOgled_it_4u
@GoOgled_it_4u 4 ай бұрын
bhaiya never stop teaching like this..
@shreehari2589
@shreehari2589 5 ай бұрын
Awesome explanation 👏🏻 Please upload more videos often
@nikoo28
@nikoo28 4 ай бұрын
a new video every week :)
@shah4304
@shah4304 3 ай бұрын
bhai Aapki explanation mast hoti hai
@subee128
@subee128 3 ай бұрын
Thank you very much
@namanjain2970
@namanjain2970 3 ай бұрын
If i ask if there is no capacity limit on boat will it become a 0/1 knapsack problem? Please clear
@srinivas1694
@srinivas1694 5 ай бұрын
Hi Nikhil, thank you for your videos. Can you please make videos on Course Schedule I and II.
@nikoo28
@nikoo28 4 ай бұрын
thanks, I will add those to my pipeline of videos
@k.k.harjeeth5422
@k.k.harjeeth5422 5 ай бұрын
Lucid !
这是王子儿子吗
00:27
落魄的王子
Рет қаралды 20 МЛН
路飞太过分了,自己游泳。#海贼王#路飞
00:28
路飞与唐舞桐
Рет қаралды 40 МЛН
Can A Seed Grow In Your Nose? 🤔
00:33
Zack D. Films
Рет қаралды 30 МЛН
Fast and Furious: New Zealand 🚗
00:29
How Ridiculous
Рет қаралды 46 МЛН
L4. Jump Game - I | Greedy Algorithm Playlist
10:53
take U forward
Рет қаралды 26 М.
Dijkstra's Algorithm - Computerphile
10:43
Computerphile
Рет қаралды 1,3 МЛН
Stack and Heap Memory | Coding Concepts
11:43
CodingWithTom
Рет қаралды 1,1 М.
1.5.1 Time Complexity #1
10:08
Abdul Bari
Рет қаралды 2,2 МЛН
这是王子儿子吗
00:27
落魄的王子
Рет қаралды 20 МЛН