Search
⌘K
Get Premium
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.
All Regions
Comments
Hello Interview Premium
Your account is free and you can post anonymously if you choose.