master > master: code - minor
This commit is contained in:
parent
38db023f99
commit
dac99c0fa0
@ -55,7 +55,7 @@ def BinarySearch(L: List[int], x: int) -> int:
|
||||
logDebug('x in Position m gefunden');
|
||||
return m;
|
||||
elif x < L[m]:
|
||||
logDebug('Suche in L[0], L[1], ..., L[m] fortsetzen, m = {}.'.format(m));
|
||||
logDebug('Suche in L[0], L[1], ..., L[m-1] fortsetzen, m = {}.'.format(m));
|
||||
index = BinarySearch(L=L[:m], x=x);
|
||||
return index;
|
||||
else: # x > L[m]
|
||||
|
Loading…
x
Reference in New Issue
Block a user