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…
More Bloomberg interview questions
- Streaming Social-Media Mentions and Aggregation
- Real-time Market Data Distribution System
- Trade Processor with Subscribe / Unsubscribe
- Flatten a Multilevel Doubly Linked List
- Matchsticks to Square Transform
- Train a Next-Word Predictor from Tokenized Sentences