- Notifications
You must be signed in to change notification settings - Fork2.4k
Add: 0286-walls-and-gates.kt#3227
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
themlkang42 commentedJan 11, 2024
- File(s) Modified: 0286-walls-and-gates.kt
- Language(s) Used: Kotlin
- Submission URL:https://leetcode.com/problems/walls-and-gates/submissions/1143741874/
Hello, thanks! Looks good, the algorithm is the same as used in Neetcode video. I have merged this now. However, if you want, you can also either edit the solution, or seperatly add another, where you move the "adding rooms" code to a separate function, etc, to make the code match the video solution more closely. Not neccesary to do this, but if you can would be appreciated. |