Java Substring

  • + 3 comments

    you did not add any of the constraints mentioned in the problem statement. if this code worked then the test cases are very poor.