66_Plus_One
- Source name
- 66_Plus_One.py
# File: Leetcode/Solutions/66_Plus_One.py
"""
Problem Number: 66
Problem Name: Plus One
Difficulty: Easy
Tags: Array, Math, Neetcode 150
Company (Frequency): Amazon, Google, Facebook, Microsoft, Apple
Leetcode Link: <https://leetcode.com/problems/plus-one/description/>
DESCRIPTION
Given digits array representing integer, add one and return resulting digits.
Approaches:
* Add carry from last digit; handle overflow (all 9s) by inserting leading 1.
"""