Number of Beautiful Integers in the Range at Infosys

Hard21.6% acceptance

This problem has 75.0% frequency at Infosys.

Problem Description

You are given positive integers `low`, `high`, and `k`. A number is **beautiful** if it meets both of the following conditions: * The count of even digits in the number is equal to the count of odd digits. * The number is divisible by `k`. Return _the number of beautiful integers in the ran...

Read full problem and hints

Topics


More Infosys Questions

View all Infosys questions