Arbitrary Precision Increment
In this lesson, you will learn how to solve the problem of the Arbitrary Precision Increment using arrays.
We'll cover the following...
In this lesson, we will be considering the following:
Given: An array of non-negative digits that represent a decimal integer.
Problem: Add one to the integer. Assume the solution still works even if implemented in a language with finite-precision arithmetic.
We will cover how to solve this problem algorithmically, and then code a solution to this question in Python.
Access this course and 1400+ top-rated courses and projects.