Kotlin without if
\n# Complexity\n- Time complexity:\nO(1)\n\n- Space complexity:\nO(1)\n# Code\n\nclass Solution {\n    fun smallestEvenMultiple(n: Int): Int = n * (n % 2 + 1)\n
\n# Complexity\n- Time complexity:\nO(1)\n\n- Space complexity:\nO(1)\n# Code\n```\nclass Solution {\n    fun smallestEvenMultiple(n: Int): Int = n * (n % 2 + 1)\n}\n```
['Kotlin']