Hacker News new | ask | show | jobs
by rep_lodsb 1032 days ago
It is there to skip the print("lol") in the second version if the condition is true. Since the array is sorted in ascending order, it will be true for every value, and that print is never be executed.