How to provide test input outside the Integer range?


  • 0
    M

    I have one doubt and I am not able to figure it out. the signature of method is

    public int reverse(int x)
    

    How can we test this method with input values outside the Integer range?


Log in to reply
 

Looks like your connection to LeetCode Discuss was lost, please wait while we try to reconnect.