Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ShuffleAlgorithm ¶
func ShuffleAlgorithm(arr []string)
Fisher-Yates 洗牌算法,用于随机打乱数组,保证每个元素出现的概率相等 This function takes an array of strings as an argument and shuffles the elements in the array using the Fisher-Yates algorithm
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.