求解怎么用recursion实现寻找list中【第二小】的数字。。
python吧
全部回复
仅看楼主
level 1
sathga
楼主
就是输入一个list=[1,2,3,4,5]
输出要是1
第一小一下就会了,第二小到底怎么求
2015年01月27日 16点01分
1
level 1
sathga
楼主
手滑,输出要是2
2015年01月27日 16点01分
2
乌龟王八a
不是有排序么,排序后,直接去第二个啥
2015年01月27日 17点01分
sathga
回复
�ڹ�����a
:题目要求用recursion。。。
2015年01月27日 17点01分
1