Main.java:1: error: class Solution is public, should be declared in a file named Solution.javapublic class Solution { ^1 error