Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.

book
Counting Unique Numbers

Given an integers a and b (inclusive), return a count of numbers that each have no repeated digits.

Example 1

Input:

a = 100; b = 1000

Output:

648
main.cpp

main.cpp

C++

Kysy tekoälyä

expand

Kysy tekoälyä

ChatGPT

Kysy mitä tahansa tai kokeile jotakin ehdotetuista kysymyksistä aloittaaksesi keskustelumme

some-alt