We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f39b90 commit 0c90052Copy full SHA for 0c90052
searches/search_in_a_rotated_sorted_array.py
@@ -47,7 +47,7 @@ def search_in_rotated_sorted_array(nums: list[int], target: int) -> int:
47
# Target is in the sorted left half
48
if nums[left_index] <= target < nums[middle_index]:
49
right_index = middle_index - 1
50
- #If target is not in sorted part searching in other part
+ # If target is not in sorted part searching in other part
51
else:
52
left_index = middle_index + 1
53
# Right half is sorted
0 commit comments