|| 🐍 Python3 || One-Line || Easiest ✔ Solution 🔥 || Beats 66% (Runtime) & 65% (Memory) ||
Intuition\nEasy problem with one line solution where num list is joined to form an int and then added to k and again converted to list.\n\n# Approach\nAlthough 
# Intuition\nEasy problem with one line solution where `num` list is joined to form an int and then added to `k` and again converted to list.\n\n# Approach\nAlthough its a one-line solution, there are multiple steps involved.\n1. Iterating through the `nums` list while converting each element to `str` and then joining them. Now this joined string will be converted to `int`.\n2. The `int` obtained in Step-1 will be added to `k` and then the `sum` is again converted to string.\n3. Now, iterate over the `sum` string into `list` while converting each element to `int`.\n\n# Complexity\n- Time complexity : $$O(log(len(num)^2 + k))$$\n- Space complexity : $$O(1)$$\n\n# Code\n```\nclass Solution:\n    def addToArrayForm(self, num: List[int], k: int) -> List[int]:\n        return [int(i) for i in str(k+ int(\'\'.join(str(n) for n in num)))]\n```\n---\n\n### Happy Coding \uD83D\uDC68\u200D\uD83D\uDCBB\n\n---\n\n### If this solution helped you then do consider Upvoting \u2B06.\n#### Lets connect on LinkedIn : [Om Anand](https://www.linkedin.com/in/om-anand-38341a1ba/) \uD83D\uDD90\uD83D\uDE00\n---\n\n### Comment your views/corrections \uD83D\uDE0A\n
['Array', 'Math', 'Python3']