Skip to content

Commit

Permalink
typo (keon#811)
Browse files Browse the repository at this point in the history
  • Loading branch information
mmooyyii authored Nov 8, 2021
1 parent a9e57d4 commit 34871c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion algorithms/tree/segment_tree/segment_tree.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ def __init__(self,arr,function):
self.segment = [0 for x in range(3*len(arr)+3)]
self.arr = arr
self.fn = function
self.maketree(0,0,len(arr)-1)
self.make_tree(0,0,len(arr)-1)

def make_tree(self,i,l,r):
if l==r:
Expand Down

0 comments on commit 34871c5

Please sign in to comment.