EASY SOLUTION || FAST|| CPP
solution in CPP:\nclass Solution {\npublic:\n    int arraySign(vector& nums) {\n       long long prod=1;\n        for(int i=0;i<nums.size();i++)\n        {\n   
solution in CPP:\nclass Solution {\npublic:\n    int arraySign(vector<int>& nums) {\n       long long prod=1;\n        for(int i=0;i<nums.size();i++)\n        {\n          if(nums[i]<0)\n                prod*=-1;\n            if(nums[i]==0)\n                return 0;\n            \n        }\n        if(prod<0)\n            return -1;\n        else\n            return 1;\n       \n    }\n};
['C++']