摘要:
/*输入一个链表,反转链表后,输出链表的所有元素。*/public class Class19 { static class ListNode{ int val; ListNode next = null; ListNode(int val){ this.val = val; } } //迭代法 p 阅读全文
摘要:
1. MongoDB使用BSON样式的文档,在Python中使用的是字典。 2.使用PyMongo模块 1)连接和断开 from pymongo import MongoClient c = MongoClient() db = c.library (其中library是数据库) collectio 阅读全文