This video is a solution to Leet code 849, Maximize Distance to Closest Person. I explain the question, go over how the logic / theory behind solving the question and finally solve it using Python code.
Comment below if you have a better solution to this problem!
Let me know if you have any feedback and don't forget to subscribe for more videos!
Code:
https://leetcode.com/problems/maximize-distance-to-closest-person/discuss/915171/Python-Solution-Explained-(video-%2B-code)-(fastest)
Time stamps:
0:00 Question Explained
2:30 Solution Explained
10:1 Python Code
More leetcode questions solved:
https://www.youtube.com/watch?v=O5yxoFS_diY&list=PLr9zbByiJa3Ua2AgTrdvot6AQ3b4CxWrF
Gear used:
Mic: https://amzn.to/3awi3b6
Drawing pad: https://amzn.to/2O7PaaU
Download
0 formats
No download links available.
Maximize Distance to Closest Person | Leet code 849 | Theory explained + Python code | NatokHD