Clean || Simple || Java Solution
\njava []\nclass Solution {\n    public int maxDivScore(int[] nums, int[] divisors) {\n        Arrays.sort(divisors);\n        int max = 0, res = divisors[0];\n
\n```java []\nclass Solution {\n    public int maxDivScore(int[] nums, int[] divisors) {\n        Arrays.sort(divisors);\n        int max = 0, res = divisors[0];\n        for(int i=0; i<divisors.length; i++){\n            int cnt = 0;\n            for(int j=0; j<nums.length; j++){\n                if(nums[j] % divisors[i] == 0)  cnt++;\n            }\n            if(cnt > max){\n                max = cnt;\n                res = divisors[i];\n            }\n        }\n        return res;\n    }\n}\n```
['Java']