Ashley Loves Numbers (Financial Engineer)

Asked at Bloomberg · Coding & Leetcode-style Questions · Difficulty: Medium

Ashley loves Numbers—but only the ones without repeating digits. For example, she loves 12 but hates 11. Given two integers, `n` and `m`, Ashley wants to find the count, `c`, of numbers she will love that are in the inclusive range between `n` and `m`.

Loading the problem…