Video Solution - [Pow of 2] - C++
Video Solution\nhttps://youtu.be/s4AfhorjZzk\n\n# Code\n\n#define ll long long int\nclass Solution {\npublic:\n    int minImpossibleOR(vector<int>& nums) {\n   
# Video Solution\nhttps://youtu.be/s4AfhorjZzk\n\n# Code\n```\n#define ll long long int\nclass Solution {\npublic:\n    int minImpossibleOR(vector<int>& nums) {\n        unordered_map<int, int> mp;\n        \n        for(int i=0;i<nums.size();i++){\n            mp[nums[i]]++;    \n        }\n        \n        ll val = 1;\n        while(1){\n            if(mp[val] == 0){\n                return (int)val;\n            }\n            val = val*2;\n        }\n        \n        return val;\n    }\n};\n```
['C++']