Frequency of each item should be less than 2
\n# Code\n\nbool isPossibleToSplit(vector<int>& nums) {\n    vector<int> freq(101, 0);\n    for(auto n: nums) freq[n]++;\n    for(auto f: freq) if(f > 2) return
\n# Code\n```\nbool isPossibleToSplit(vector<int>& nums) {\n    vector<int> freq(101, 0);\n    for(auto n: nums) freq[n]++;\n    for(auto f: freq) if(f > 2) return false;\n    return true;\n}\n\n```\n\n---\n\n<b>Here is an article of my interview experience at Amazon, taht may be helpful for you: https://leetcode.com/discuss/interview-experience/3171859/Journey-to-a-FAANG-Company-Amazon-or-SDE2-(L5)-or-Bangalore-or-Oct-2022-Accepted\n\n---
['C++']