MCPcopy Create free account
hub / github.com/VanjaRo/LeetCode / main

Function main

tasks/71.go:7–10  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

5)
6
7func main() {
8 str := "/a//b////c/d//././/.."
9 fmt.Print(simplifyPath(str))
10}
11
12func simplifyPath(path string) string {
13 start := 0

Callers

nothing calls this directly

Calls 2

simplifyPathFunction · 0.85
PrintMethod · 0.80

Tested by

no test coverage detected