BEST and EASIER || C++ || EASY ||
\n\n# Code\n\nclass Solution {\npublic:\n    int minImpossibleOR(vector<int>& nums) {\n        int k=0;\n        map<int,int> mp;\n        for(auto i: nums)\n  
\n\n# Code\n```\nclass Solution {\npublic:\n    int minImpossibleOR(vector<int>& nums) {\n        int k=0;\n        map<int,int> mp;\n        for(auto i: nums)\n            mp[i]++;\n        \n        for(;k<32;k++)\n        {\n            if(mp.find(pow(2,k))==mp.end())\n            {\n                return pow(2,k);\n            }\n        }\n        return -1;\n    }\n};\n```
['C++']