1689. Partitioning Into Minimum Number Of Deci-Binary Numbers
https://leetcode.com/problems/partitioning-into-minimum-number-of-deci-binary-numbers/
Python
class Solution:
def minPartitions(self, n: str) -> int:
return int(max(n))
https://leetcode.com/problems/partitioning-into-minimum-number-of-deci-binary-numbers/
class Solution:
def minPartitions(self, n: str) -> int:
return int(max(n))