mirror of
https://github.com/lWolvesl/leetcode.git
synced 2026-06-04 02:21:15 +08:00
routine
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
package main
|
||||
|
||||
import "strings"
|
||||
|
||||
func checkOnesSegment(s string) bool {
|
||||
return !strings.Contains(s, "01")
|
||||
}
|
||||
Reference in New Issue
Block a user