Simple O(1) time solution | C++
Simple\n1) If even return the number itself\n2) If odd return twice the number\n\n\nclass Solution {\npublic:\n    int smallestEvenMultiple(int n) {\n        if
Simple\n1) If even return the number itself\n2) If odd return twice the number\n\n```\nclass Solution {\npublic:\n    int smallestEvenMultiple(int n) {\n        if(!(n&1))\n            return n;\n        return n<<1;\n    }\n};\n```
['Math', 'C']