Return value is confusing

The question could mention the expected integers to be returned instead of True/False.

Click here to start solving coding interview questions