You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The sample solution won't halt if given a negative integer as input. Perhaps the exercise specification should mention only positive integers as input.