$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · medium · #28

Fill the operator so the loop runs while left is before right.

while left ____ right:   # two pointers

Answer: < (also accepted: <)

left < right keeps the two pointers from crossing.
Play Problem Solving ▸