bugl
Home
Learn
Patterns
Paths
Search
Premium
Auto
Home
Learn
Patterns
Paths
Medium
1-D Dynamic Programming
LC 357
Count Numbers with Unique Digits
Given an integer n, return the count of all numbers with unique digits, x, where 0 <= x < 10n.
Asked at 1 company
Google
Hints
1.
Think about which data structure fits best
2.
Consider the time complexity of your approach
3.
Look for patterns in the constraints
Start Puzzle
LeetCode