1689. Partitioning Into Minimum Number Of Deci-Binary Numbers

Updated: 2024-03-12
1 min read
[]

On This Page

LeetCode problem 1689

class Solution:
    def minPartitions(self, n: str) -> int:
        return int(max(n))