• + 0 comments

    //This is my solution, use in case to need class Solution{ public static void main(String []argh) { Scanner in = new Scanner(System.in); int n=in.nextInt(); in.nextLine(); Map find = new HashMap<>(); for(int i=0;i