Leetcode - Search in Rotated Sorted Array (Python)

preview_player
Показать описание
Leetcode Blind Curated 75
Leetcode - Search in Rotated Sorted Array
Рекомендации по теме
Комментарии
Автор

Keep doing these videos going through blind 75! Love your explanations and following along has helped me immensely.

ericluong
Автор

Hello, thanks for making these videos, they help me a lot! I have a question, how do you know the real mid point would be (mid+pivot)%len(nums)? Thanks so much.

andrewwang
Автор

why did we not do l<=r in finding the pivot and why not right = mid-1?

prateekjoshi
Автор

Why left < right in finding the pivot?

tusharvatsa