👏Beats 98.75% of users with Java || Simple & Easy Array Approach 🔥💥
\n\n# Code\n\nclass Solution {\n    public boolean isPossibleToSplit(int[] nums) {\n        int[] cnt = new int[101];  \n        for(int i=0;i<nums.length;i++){
\n\n# Code\n```\nclass Solution {\n    public boolean isPossibleToSplit(int[] nums) {\n        int[] cnt = new int[101];  \n        for(int i=0;i<nums.length;i++){ \n            cnt[nums[i]-1]++;\n            if(cnt[nums[i]-1]>2){\n                return false;\n            }\n        }\n        return true; \n    }\n}\n```
['Array', 'Hash Table', 'Counting', 'Java']