Suffix array: Difference between revisions

Content deleted Content added
Applications: Clarify search code
Line 192:
"""
# Find starting position of interval
l = 0 # in Python, arrays are indexed starting at 0
l = 0
r = n + 1
while l < r: