Python
eastlife1212
这个作者很懒,什么都没留下…
展开
-
Python Technical Interview Questions
DecorationDynamic typingGarbage managementInheritance****挖坑待补****原创 2018-10-14 13:11:03 · 214 阅读 · 0 评论 -
Python 基本数据结构使用方法
1. Queue用collections.deque实现double linked listqueue = collections.deque([])queue.append(0) //O(1)queue.popleft() //O(1)2. Stack用list就可以实现。。原创 2018-10-31 11:49:16 · 160 阅读 · 0 评论 -
C++, Python, Java string的操作对比
C++:initialize:string str1(5, 'c');string str2("Now is the time...");string str3(str2, 11, 4);cout << str1 << endl; //ccccccout << str2 << endl; //Now is the time.....原创 2018-10-30 10:44:25 · 132 阅读 · 0 评论