什么是排序名单,最有效的方法[0,0,1,0,1,1,0],其元素是唯一0与1不使用任何内置sort()或sorted()或count()功能.O(n)或小于该值
[0,0,1,0,1,1,0]
0
1
sort()
sorted()
count()
python
python ×1