🚀 https://neetcode.io/ – A better way to prepare for Coding Interviews
🧑💼 LinkedIn: https://www.linkedin.com/in/navdeep-singh-3aaa14161/
🐦 Twitter: https://twitter.com/neetcode1
⭐ BLIND-75 PLAYLIST: https://www.youtube.com/watch?v=KLlXCFG5TnA&list=PLot-Xpze53ldVwtstag2TL4HQhAnC8ATf
Problem Link: https://leetcode.com/problems/maximum-number-of-fish-in-a-grid/
0:00 – Read the problem
0:30 – Drawing Explanation
7:04 – Coding Explanation
12:25 – Using input space
leetcode 2658
#neetcode #leetcode #python



コメント
I think the overhead added by recursion is causing the solution to be slow. Could you please implement DFS without recursion once. That would be very helpful for me personally. Many thanks for these videos, they are very valuable to me. God bless you sir.
Is this not very similar to pacific islands?