diff --git a/LeetCode Questions/Java/DIVCLASS.java b/LeetCode Questions/Java/DIVCLASS.java new file mode 100644 index 00000000..303c4893 --- /dev/null +++ b/LeetCode Questions/Java/DIVCLASS.java @@ -0,0 +1,37 @@ + +import java.util.*; +import java.lang.*; +import java.io.*; + + +class MyCode +{ + public static void main (String[] args) throws java.lang.Exception + { + // your code goes here + Scanner scan=new Scanner(System.in); + int T=scan.nextInt(); + while(T-->0) + { + int N=scan.nextInt(); + int a[]=new int[N]; + HashSet hs=new HashSet(); + for(int i=0;i12) + System.out.println("no"); + else + System.out.println("yes"); + } + } + } +}