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

Function sortString

tasks/49.go:39–43  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

37}
38
39func sortString(s string) string {
40 r := []rune(s)
41 sort.Sort(sortRunes(r))
42 return string(r)
43}

Callers 1

groupAnagramsFunction · 0.85

Calls 1

sortRunesTypeAlias · 0.85

Tested by

no test coverage detected