Beginner friendly [Java/JavaScript/Python] Solution
Time Complexity : O(1)\n\njava []\nclass Solution {\n    public int smallestEvenMultiple(int n) {\n        return n % 2 == 0 ? n : n * 2;\n    }\n}\n\n\njavasri
**Time Complexity : O(1)**\n\n```java []\nclass Solution {\n    public int smallestEvenMultiple(int n) {\n        return n % 2 == 0 ? n : n * 2;\n    }\n}\n```\n\n```javasript []\nvar smallestEvenMultiple = function(n) {\n    return n % 2 == 0 ? n : n * 2\n};\n```\n\n```python []\nclass Solution(object):\n    def smallestEvenMultiple(self, n):\n        return n if n % 2 == 0 else n * 2\n```
['Python', 'Java', 'JavaScript']