Documentation ¶
Index ¶
- func IndexOfAll(txt, sub string) (subIndexes []int)
- func IndexOfAllSimple(txt, sub string) (subIndexes []int)
- func Reverse(s string) string
- func ReverseInStack(s string) string
- func ReverseNest(s string) string
- func ReverseNest1(s string) string
- func SearchShortestSubString(s, letters string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IndexOfAll ¶
func IndexOfAllSimple ¶
func ReverseNest ¶
reverse recursively
e.g. the input string: abcdef
reverse(bcdef)+a reverse(cdef)+b ...
func SearchShortestSubString ¶
find the shortest sub-string of s, the sub-string contains the letters
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.