go-dsa icon indicating copy to clipboard operation
go-dsa copied to clipboard

Go Data Structures and Algorithms is an open source tool for learning and rehearsing data structures and algorithms in Go.

Results 4 go-dsa issues
Sort by recently updated
recently updated
newest added

https://github.com/spring1843/go-dsa/blame/adc15f7574794bfed14bc10c1689415323fa619c/array/bubble_sort.go#L7 the implementation is comparing the elements in a inefficient way please see the comparison bellow ```Go func bubbleSort(input []int) []int { swapped := true for swapped { swapped =...

enhancement

https://github.com/spring1843/go-dsa/blob/main/array/reverse_inplace.go `i

## A clear and concise description of what the problem strings/longest_dictionary_word.go solution fails for below use case: when key = "a" , dic = []string{"c"}, expected output should be ""...