Java || Easy to Understand || Shorter Solution
\nclass Solution {\n    public int minMovesToSeat(int[] seats, int[] students) {\n        Arrays.sort(seats);\n        Arrays.sort(students);\n        int diff 
```\nclass Solution {\n    public int minMovesToSeat(int[] seats, int[] students) {\n        Arrays.sort(seats);\n        Arrays.sort(students);\n        int diff = 0;\n        for(int i=0; i<seats.length; i++){\n            diff +=  Math.abs(students[i]-seats[i]);\n        }\n        return diff;\n    }\n}\n```\nPlease **UPVOTE** if you find this solution helpful.\nThanks : )
['Java']