更新时间:2021-11-02 08:59:31
最简单的方法(和pretty的快呢:)
The simple way (and pretty fast too:)
a = [1,2,3,5,7] b = (1..7).to_a p b-a #=> [4, 6]
算法找出重复的数字数组中的---用最快的方法
找到2名失踪的数字数组中的最快方法