Posts with tag 'backtracking'

Phone Number Combinations

less than 1 minute read

Given a string digits containing 2 to 9 inclusive, return in sorted lexicographic order all possible strings it could represent when mapping to letters on a ...

Consecutively Descending Integers

less than 1 minute read

Given a string s containing digits, return whether it contains consecutively descending integers.

Back to top ↑