Easy Solution (with step by step explanation)
Intuition\nwe wwill use math to solve this problem\n# Approach\ncheck if n divisable by 2 if true return n, else multyply n by 2 and return result\n# Complexity
# Intuition\nwe wwill use math to solve this problem\n# Approach\ncheck if n divisable by 2 if true return n, else multyply n by 2 and return result\n# Complexity\n- Time complexity:\nO(1)\n- Space complexity:\nO(1)\n# Code\n```\nclass Solution {\n    public int smallestEvenMultiple(int n) {\n        // check that n is divisable by 2 and return n if true\n        if(n % 2 == 0) return n;\n        // return n multiply by 2 otherwise\n        return n * 2;\n    }\n}\n```
['Math', 'Java']