C++ ||Begineer Friendly|| Easy-Understanding|| Video solution
Intuition\n Describe your first thoughts on how to solve this problem. \nC++ Clear Explaination ,Please support if you find it usefull. Can give me feedback in 
# Intuition\n<!-- Describe your first thoughts on how to solve this problem. -->\n**C++ Clear Explaination ,Please support if you find it usefull. Can give me feedback in comment for improvement.,will be very thankfull.**\nhttps://www.youtube.com/watch?v=qWmANiGB00I/\n# Approach\n<!-- Describe your approach to solving the problem. -->\n\n# Complexity\n- Time complexity:\n<!-- Add your time complexity here, e.g. $$O(n)$$ -->\n\n- Space complexity:\n<!-- Add your space complexity here, e.g. $$O(n)$$ -->\n\n# Code\n```\nclass Solution {\npublic:\n vector<int> addToArrayForm(vector<int>& num, int k) {\n\n        for(int i=num.size()-1;i>=0;i--){\n            int temp = num[i]+k;\n            // value to store .\n            num[i] = temp%10;\n            k=temp/10; // carry.\n        }\n        // if k>0 that means we need to insert in front.\n        while(k>0){\n            num.insert(num.begin(),k%10);\n            k=k/10;\n        }\n\n        return num;\n\n\n    }\n};\n```
['Array', 'Math', 'C', 'C++', 'Java']