Skip to content

Commit

Permalink
chore: day11 medium
Browse files Browse the repository at this point in the history
  • Loading branch information
Roshu2003 committed Apr 11, 2024
1 parent 000ca8c commit f2d8876
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Medium/Day11/Problem.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
Imagine we have a range of numbers from n to m. How many of these numbers have unique digits in each position?
In other words, no two digits next to each other can be the same.

Constraints

0 <= n <= m <= 10^18
5 changes: 5 additions & 0 deletions Medium/Day11/Sample.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Input:
123 321

Output:
171
1 change: 1 addition & 0 deletions Medium/Day11/Solution.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
// Write Your code here

0 comments on commit f2d8876

Please sign in to comment.