Skip to content

随机数 #10

Description

@wyp20040208123

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions