educative.io

Educative

Solution#1: Brute Force (code phrase "and i is not j")

Hello,

Could you please suggest why we need the below code snippet in the if condition (line#9)?

“and i is not j”