[Python3] O (1) with explanation.
First check if n is even, if it is even return n.\nIf n is odd, return n2.\n\n\nclass Solution:\n    def smallestEvenMultiple(self, n: int) -> int:\n        if 
First check if n is even, if it is even return n.\nIf n is odd, return n*2.\n\n```\nclass Solution:\n    def smallestEvenMultiple(self, n: int) -> int:\n        if n%2==0:\n            return n\n        return 2*n\n```\n\n**Upvote** if you like this post.\n\n**Connect with me on [LinkedIn](https://www.linkedin.com/in/meida-chen-938a265b/)** if you\'d like to discuss other related topics\n\n\uD83C\uDF1F If you are interested in **Machine Learning** || **Deep Learning** || **Computer Vision** || **Computer Graphics** related projects and topics, check out my **[YouTube Channel](https://www.youtube.com/@meidachen8489)**! Subscribe for regular updates and be part of our growing community.
[]