C++ || Easy || Power of 2
\n\n# Code\n\nclass Solution {\npublic:\n    int minImpossibleOR(vector<int>& nums) {\n        unordered_map<int, bool> mp;\n        for(auto ele:nums){\n      
#\n\n# Code\n```\nclass Solution {\npublic:\n    int minImpossibleOR(vector<int>& nums) {\n        unordered_map<int, bool> mp;\n        for(auto ele:nums){\n            mp[ele]=1;\n        }\n        int i=1;\n        while(1){\n            if(mp.find(i) == mp.end()){\n                return i;\n            }\n            i<<=1;\n        }\n        return 1;\n    }\n};\n```
['C++']