Simple C++
\n\n# Code\n\nclass Solution {\npublic:\n    int minImpossibleOR(vector<int>& nums,int i= 1) {\n        unordered_set<int> st{nums.begin(),nums.end()};\n       
\n\n# Code\n```\nclass Solution {\npublic:\n    int minImpossibleOR(vector<int>& nums,int i= 1) {\n        unordered_set<int> st{nums.begin(),nums.end()};\n        for(;;i*=2)if(st.find(i) == st.end())break;\n        return i;\n    }\n};\n```
['C++']