• + 1 comment

    Yes, it can be copied from the problem statement, but it can be a source of confusion, and be extension frustration, when the code stub starts you off with a Solution object and a main method, especially if the user is realatively inexperienced.