Add to Array-Form of Integer
Add an integer to a number represented as an array of decimal digits.
Leetcode
I collated all the leetcode problems i solved on here so you can learn from it. You can search for a problem, filter by language or problem type, narrow by difficulty.
Showing 1-10 of 439 problems
Page 1 of 44
Add an integer to a number represented as an array of decimal digits.
Count pawns an unmoving rook can capture along the four board directions before a bishop blocks it.
Check whether two typed strings are equal after applying backspace characters.
Evaluate a sequence of baseball scoring operations and return the total score.
Find the greatest distance between consecutive set bits in an integer.
Determine whether adjacent bits in a positive integer alternate between zero and one.
Report whether each binary-array prefix represents a number divisible by five.
Locate a target in a sorted integer array or report that it is absent.
Check whether swapping exactly two characters in one string can produce another string.
Determine whether enough flowers can be planted without placing any two in adjacent plots.