2024 Day 22 Complete!
This commit is contained in:
@@ -228,6 +228,10 @@ func PrintProgress(curr, total int) {
|
||||
fmt.Print("]")
|
||||
}
|
||||
|
||||
func ClearProgress() {
|
||||
fmt.Print("\b\b\b\b\b\b\b\b\b\b\b\b")
|
||||
}
|
||||
|
||||
// StringPermutations takes a string and returns all permutations of it
|
||||
func StringPermutations(str string) []string {
|
||||
perms := stringPermHelper(str, 0)
|
||||
|
Reference in New Issue
Block a user