Skip to content

Commit 0c90052

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 2f39b90 commit 0c90052

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

searches/search_in_a_rotated_sorted_array.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def search_in_rotated_sorted_array(nums: list[int], target: int) -> int:
4747
# Target is in the sorted left half
4848
if nums[left_index] <= target < nums[middle_index]:
4949
right_index = middle_index - 1
50-
#If target is not in sorted part searching in other part
50+
# If target is not in sorted part searching in other part
5151
else:
5252
left_index = middle_index + 1
5353
# Right half is sorted

0 commit comments

Comments
 (0)