SyntaxFix
Write A Post
Hire A Developer
Questions
ArrayList<String> al[] = new ArrayList[n+1]; for(int i = 0;i<n;i++){ al[i] = new ArrayList<String>(); }