Nutanix
1 DSA problems asked in Nutanix coding interviews
0 Easy
1 Medium
0 Hard
All Categories
All
1 problem
Greedy1
Partitioning Into Minimum Number Of Deci-Binary Numbers
Medium
A decimal number is called deci-binary if every one of its digits is `0` or `1` and it has no leading zeros, for example `101` and `1100`. Given a string `n` that holds a positive decimal integer, return the minimum number of positive deci-binary numbers that sum to `n`.