Fix mistake in comment
This commit is contained in:
@@ -29,7 +29,7 @@ def is_condition_two_met(s):
|
||||
each line is sorted we take the two smallest integers and compare it to the
|
||||
biggest. Then we take the three smallest integers and compare it to the two
|
||||
biggest, and so on. Comparing the smallest with the biggest integers is the
|
||||
worst case and if there is violation of the condition it will be met for
|
||||
worst case and if there is no violation of the condition it will be met for
|
||||
all other subset pairs. """
|
||||
half_len = (len(s) - 1) // 2
|
||||
for i in range(1, half_len + 1):
|
||||
|
||||
Reference in New Issue
Block a user