摘要: 1. 切换数据库 显示当前数据库 db 切换数据库 use examples 2. 插入文档 MongoDB stores documents in collections. Collections are analogous to tables in relational databases. I 阅读全文
posted @ 2022-11-19 01:07 llazycat 阅读(122) 评论(0) 推荐(0)
摘要: 代码:#! /usr/bin/env python#coding=utf-8import random,copydef heap_sort_helper(lst,left,right): # max heapify current_value = lst[left] child =... 阅读全文
posted @ 2015-01-17 21:37 llazycat 阅读(350) 评论(0) 推荐(0)