Fastest Java Solution!! 🔥🔥🔥
Intuition\nThis problem is really simple if you think about the 2 types of testcases. First, the number inputted can be divisible by 2. In this case, we can jus
# Intuition\nThis problem is really simple if you think about the 2 types of testcases. First, the number inputted can be divisible by 2. In this case, we can just return the number itself since it satisfies all of the criteria. Else, you can just return the number times 2.\n\n# Complexity\n- Time complexity: O(1)\n- Space complexity: O(1)\n\n# Code\n```java\nclass Solution {\n    public int smallestEvenMultiple(int n) {\n        if (n % 2 == 0) {\n            return n;\n        } else {\n            return n * 2;\n        }\n    }\n}\n```
['Math', 'Number Theory', 'Java']