$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · easy · #17

Fill the keyword that returns mid.

if arr[mid] == target:
    ____ mid

Answer: return (also accepted: return)

return mid ends the function with the found index.
Play Problem Solving ▸