Please complete the code in java language. Please make it fast.

Question Answered step-by-step Please complete the code in java language. Please make it fast. Image transcription textNext ) 1. Organize The Class There are N students and two Hallsnamed Hall A and Hall 8. Each Hall can accommodate at most N12students. You are given two arrays hallA and hallB of… Show more… Show moreImage transcription textConstraints 1 SNS 2*10^5 1 shallA[i] s 10~9 . 1 shallB[i] s 10^9Input format for debugging The first line contains an integer, N,denoting the number of elements in hallA. . Each line … Show more… Show moreImage transcription textEach line i of the N subsequent lines (where 0 s I < N) containsan integer describing hallAli]. Each line i of the N subsequentlines (where 0 < i < N) contains an integer descri... Show more... Show moreImage transcription textJava 8 import java. io.*; import java.util.*; AWNP import java.lang. Math; UT 6 public class Solution { V public static intorganizeTheClass(int N, List hallA, L… Show more… Show more  Please complete the code in java language. Please make it fast. Computer Science Engineering & Technology Java Programming Share QuestionEmailCopy link Comments (0)