⬆️⬆️✅✅✅[java/c++] one-liner | 100.00% | 0 Ms | O(1) 🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥🔥
UPVOTE PLEASE\n\ncpp:\n\n\n    return unordered_set<string>{"1210", "2020" , "21200", "3211000", "42101000", "521001000", "6210001000"}.count(num);\n\t\n\tjava:
**UPVOTE PLEASE**\n```\ncpp:\n\n\n    return unordered_set<string>{"1210", "2020" , "21200", "3211000", "42101000", "521001000", "6210001000"}.count(num);\n\t\n\tjava:\n\t\n\treturn new HashSet<String>(List.of("1210", "2020" , "21200", "3211000", "42101000", "521001000", "6210001000")).contains(num); \n```
['C', 'C++', 'Java']