This would fail if the input is of a negative number. It should return Infinity but here it actually returns a negative value.
This comment is hidden because it contains spoiler information about the solution
Loading collection data...
This would fail if the input is of a negative number.
It should return Infinity but here it actually returns a negative value.
This comment is hidden because it contains spoiler information about the solution