Easy Java Solution
\n\n# Code\n\nclass Solution {\n    public boolean isPossibleToSplit(int[] nums) {\n        HashMap<Integer, Integer> hm=new HashMap<>();\n        for(int i=0;i
\n\n# Code\n```\nclass Solution {\n    public boolean isPossibleToSplit(int[] nums) {\n        HashMap<Integer, Integer> hm=new HashMap<>();\n        for(int i=0;i<nums.length;i++){\n            hm.put(nums[i],hm.getOrDefault(nums[i],0)+1);\n            if(hm.get(nums[i])>2)\n                return false;\n        }\n        return true;\n    }\n}\n```
['Hash Table', 'Java']