uncommited problems
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
impl Solution {
|
||||
pub fn min_partitions(n: String) -> i32 {
|
||||
(n.bytes()
|
||||
.max()
|
||||
.unwrap() - b'0') as i32
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user