radix_sort_test

  • 2022-12-14
  • 浏览 (539)

radix_sort_test.go 源码

package sort

import "testing"

func TestRadixSort(t *testing.T) {
	data1 := []int{121, 432, 0, 564, 990, 2300, 23, 1, 45, 788}
	RadixSort(data1)

	t.Log(data1)

	data2 := []int{1, 0}
	RadixSort(data2)
	t.Log(data2)
}

你可能感兴趣的文章

bubbleSort

bubbleSort_test

bucket_sort

0  赞