|
1
3
你可以用
|
|
|
2
5
Sorting is guaranteed to be stable
,所以使用
|
|
|
3
2
我会先在短名单中搜索,必要时在长名单中搜索:
pointed out ,此解决方案并不总是有效。将两种解决方案结合起来:
|