Ruby 1-line Simple Solution
Code\n\n# @param {Integer[]} nums\n# @return {Boolean}\ndef is_possible_to_split(nums)\n  nums.tally.all? { _2 <= 2 }\nend\n
# Code\n```\n# @param {Integer[]} nums\n# @return {Boolean}\ndef is_possible_to_split(nums)\n  nums.tally.all? { _2 <= 2 }\nend\n```
['Ruby']