C++   + INTUTION +    EASY
we take any two number and do operations(  consider all pairs ) \n    1.a   ->oprarion are  a+b, a-b,  b-a, a*b , a/b (if  b!=0 ) and b/a if  (b!=0).\n2.  take 
1. we take any two number and do operations(  consider all pairs ) \n    1.a   ->oprarion are  a+b, a-b,  b-a, a*b , a/b (if  b!=0 ) and b/a if  (b!=0).\n2.  take any operation and rest of the array element and do cheak for  possible\n3.  at the end size of the array will be 1 and if elenment is 24 return true else return false\n\n```\nclass Solution {\npublic:\n    vector<double>getOperation(double & firstNo, double  &secondNo)\n    {\n         vector<double>oper;\n        oper.push_back(firstNo+secondNo);\n        oper.push_back(firstNo-secondNo);\n        oper.push_back(secondNo-firstNo);\n        oper.push_back(firstNo*secondNo);\n        if(firstNo>1e-9)\n              oper.push_back(secondNo/firstNo);\n         if(secondNo>1e-9)\n              oper.push_back(firstNo/secondNo);\n         return oper; \n    }\n    bool isPossible(vector<double>&arr)\n    {\n        int n=(int)arr.size();\n        if(n==1)\n        {\n            return (abs(24.0-arr[0])<=1e-9);\n        }\n         \n        for(int fi=0;fi<n;fi++)\n        {\n            for(int si=0;si<n;si++)\n            {\n                if(fi==si)continue;\n                \n                double firstNo=arr[fi];\n                double secondNo=arr[si];\n                vector<double>operation=getOperation(firstNo,secondNo);\n               vector<double>nextArr;\n                for(double & op:operation)\n                {\n                    nextArr.clear();\n                    nextArr.push_back(op);\n                    for(int i=0;i<n;i++)\n                    {\n                        if(i==fi || i==si)continue;\n                        nextArr.push_back(arr[i]);\n                    }\n                    if(isPossible(nextArr)) return true;\n                }\n            }\n        }\n        return false;\n    }\n    bool judgePoint24(vector<int>& cards) {\n        vector<double>arr(cards.begin(),cards.end());\n        return isPossible(arr);\n        \n    }\n};\n```
[]