LeetCode 902: Numbers At Most N Given Digit Set
A clear explanation of counting numbers less than or equal to N using digit-by-digit construction and combinatorics.
4 notes
A clear explanation of counting numbers less than or equal to N using digit-by-digit construction and combinatorics.
A clear explanation of counting good numbers after rotating every digit by 180 degrees.
A detailed explanation of counting how many times digit one appears from 0 to n using positional digit analysis.
A clear digit dynamic programming solution for counting numbers whose binary representation does not contain consecutive ones.