Skip to main content

Leetcode

LeetCode: Arrays 101: Introduction – Solutions

LeetCode: Arrays 101: Introduction – Solutions

·2 mins
Hello, LeetCode is a good place to practice programming by solving problems of all levels! After you solve a problem, you’ll get access to all submitted solutions, sorted by time and memory usage. That’s a nice way to compare your code to others and see what you did well and where you can improve.
LeetCode: Add Two Numbers Python 3 iterative solution

LeetCode: Add Two Numbers Python 3 iterative solution

·2 mins
[Problem Link] Hello, Here’s my solution for the add two numbers problem on LeetCode. Example: 1 2 3 <strong>Input:</strong> (2 -> 4 -> 3) + (5 -> 6 -> 4) <strong>Output:</strong> 7 -> 0 -> 8 <strong>Explanation:</strong> 342 + 465 = 807. When doing problems on websites such as LeetCode, I like to code in my own IDE, that’s why you’ll see some additional helper functions besides the solution code.