摘要: Linked List Cycle I Given a linked list, determine if it has a cycle in it. Follow up: Can you solve it without using extra space? 该问题是经典面试问题,其标准解法是用两 阅读全文
posted @ 2015-05-30 09:22 linqiaozhou 阅读(393) 评论(0) 推荐(0) 编辑
摘要: 查找文件夹下的所有子文件import osallfile=[]def dirlist(path): filelist=os.listdir(path) #fpath=os.getcwd() for filename in filelist: # allfile.appen... 阅读全文
posted @ 2015-05-30 08:44 linqiaozhou 阅读(1836) 评论(0) 推荐(0) 编辑