Search
⌘K

Leetcode 1805. Number of Different Integers in a String

Extract all contiguous digit substrings from the input string, normalize them by removing leading zeros (treating empty as "0"), and return the count of distinct integer values.


Question Timeline

See when this question was last asked and where, including any notes left by other candidates.

Comments

Your account is free and you can post anonymously if you choose.