You are given a string word consisting of digits and lowercase English letters.
Replace every non digit character with a space, then separate the remaining contiguous digit sequences into integers. Two integers are considered equal if they evaluate to the same decimal value after ignoring leading zeros.
Return the number of unique integers in word.
Constraints:
word.length
word consists of digits and lowercase English letters.
You are given a string word consisting of digits and lowercase English letters.
Replace every non digit character with a space, then separate the remaining contiguous digit sequences into integers. Two integers are considered equal if they evaluate to the same decimal value after ignoring leading zeros.
Return the number of unique integers in word.
Constraints:
word.length
word consists of digits and lowercase English letters.