Розмір відео: 1280 X 720853 X 480640 X 360
Показувати елементи керування програвачем
Автоматичне відтворення
Автоповтор
Question on LeetCode: leetcode.com/problems/magnetic-force-between-two-balls/My solution code on LeetCode: leetcode.com/problems/magnetic-force-between-two-balls/discuss/795786/Python-Clean-Binary-Search-Solution-with-Video-Explanation
But doesn't the initial sort make the runtime n squared?
Is it not the balls should be placed only in the baskets whose position is given
Good explanation . Thank you
nice explanation, thanks!
No problem!
Question on LeetCode: leetcode.com/problems/magnetic-force-between-two-balls/
My solution code on LeetCode: leetcode.com/problems/magnetic-force-between-two-balls/discuss/795786/Python-Clean-Binary-Search-Solution-with-Video-Explanation
But doesn't the initial sort make the runtime n squared?
Is it not the balls should be placed only in the baskets whose position is given
Good explanation . Thank you
nice explanation, thanks!
No problem!