Solution in Java and C
Code
# Code
```java []
class Solution {
    public boolean isPossibleToSplit(int[] nums) {
        int len = nums.length;
        int[] freq = new int[101];
        for (int i = 0; i < len; i++) {
            freq[nums[i]]++;
            if (freq[nums[i]] > 2) {
                return false;
            }
        }
        return true;
    }
}
```
```C []
bool isPossibleToSplit(int* nums, int numsSize) {
    int freq[101] = {'0'};
    for (int i = 0; i < numsSize; i++) {
        freq[nums[i]]++;
        if (freq[nums[i]] > 2) {
            return false;
        }
    }
    return true;
}
```
['Array', 'C', 'Counting', 'Java']