clone module
go get github.com/triadmoko/coding-interview
call the coding interview function inside main.go
example test simple array sum
func main() {
val := []int{12, 124, 32, 43, 423, 423}
algorithms.SimpleArraySum(val)
}
example test simple a very big sum
func main() {
val := []int64{1000000001, 1000000002, 1000000003, 1000000004, 1000000005}
algorithms.AVeryBigSum(val)
}
example test array DS
func main() {
val := []int{12, 124, 32, 43, 423, 423}
datastructures.ReverseArray(val)
}