Размер видео: 1280 X 720853 X 480640 X 360
Показать панель управления
Автовоспроизведение
Автоповтор
Thank you. I finally understood the solution. You have explained it very well.
Very well explained deepti. Understood really well.Keep up the good work deepti mam.👍🏻😀
You are amazing Mam !
why do we need to check if it is sorted?
what if we intialize low= 0, high= nums.size()-1, and then jsut check wether nums[low]== target ot nums[high]== target if yes return the index and if not increment the low by 1 and decrease the high by 1
Thank you. I finally understood the solution. You have explained it very well.
Very well explained deepti. Understood really well.Keep up the good work deepti mam.👍🏻😀
You are amazing Mam !
why do we need to check if it is sorted?
what if we intialize low= 0, high= nums.size()-1,
and then jsut check wether nums[low]== target ot nums[high]== target if yes return the index and if not increment the low by 1 and decrease the high by 1