Search
⌘K

Leetcode 2413. Smallest Even Multiple

Return the least common multiple of n and 2 — equivalently, output n if n is even, otherwise 2*n.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.