Skip to content

随机数 #10

@wyp20040208123

Description

@wyp20040208123

RandomSort 方法的问题: 如前所述,当前代码使用的是 Math.random() - 0.5 来随机排序数组。这个方法的问题在于它并不是一个真正的随机排序算法,因为 Math.random() - 0.5 产生的排序有一定的偏差。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions