Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit fdba816

Browse files
authoredOct 14, 2023
Fix ruff check error
1 parent e232e37 commit fdba816

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎data_structures/arrays/sparse_table.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def build_sparse_table(arr: list[int], arr_length: int) -> list[int]:
3535
k = int(math.log2(arr_length)) + 1
3636
lookup = [[0 for i in range(arr_length)] for j in range(k)]
3737

38-
for i in range(0, arr_length):
38+
for i in range(arr_length):
3939
lookup[0][i] = arr[i]
4040

4141
j = 1

0 commit comments

Comments
 (0)
Please sign in to comment.