码迷,mamicode.com
首页 >  
搜索关键字:HERE    ( 6715个结果
676. 实现一个魔法字典
class MagicDictionary(object): def __init__(self): """ Initialize your data structure here. """ self.mydict = {} def buildDict(self, dictionary): """ ...
分类:其他好文   时间:2020-11-26 15:16:42    阅读次数:9
Linux安装MySQL5.7.17
下载地址:https://downloads.mysql.com/archives/community/ 解压 tar -xvf mysql-5.7.17-linux-glibc2.5-x86_64.tar.gz 再移动并重命名一下 mv mysql-5.7.17-linux-glibc2.5-x8 ...
分类:数据库   时间:2020-11-26 14:54:33    阅读次数:11
序列化和反序列化
# Create your views here.import jsonfrom django.shortcuts import renderfrom django.shortcuts import renderfrom django.http import HttpResponse, HttpRe ...
分类:其他好文   时间:2020-11-26 14:35:15    阅读次数:6
通过命令行对用户进行授权与授权
--例子1.为用户qq授予STUDENT表的查询权 以Windows身份验证进入 GRANT SELECT ON STUDENT TO qq 然后以qq的身份登录, 执行select * from sc,是否成功? 以下同。 --例子2.为用户qq授予SC表的查询和插入记录权 以Windows身份验 ...
分类:其他好文   时间:2020-11-25 12:28:08    阅读次数:5
SHA1 VS RSA: what's the difference between them?
SHA1 VS RSA: what's the difference between them? Fundamentally different. SHA1 is a hash algorithm, which is a one way function, turning an input of a ...
分类:其他好文   时间:2020-11-23 12:09:41    阅读次数:4
spring整合sharding-jdbc实现分库分表
1.创建两个库,每个库创建两个分表t_order_1,t_order_2 DROP TABLE IF EXISTS `t_order_1`; CREATE TABLE `t_order_1` ( `id` int(10) NOT NULL AUTO_INCREMENT, `amount` int(2 ...
分类:数据库   时间:2020-11-21 12:32:56    阅读次数:12
遇到 ''isSort()''declared here, later in the translation unit
在编写代码时,遇到 在原来的代码中出现这个问题 原来的代码: //3 计算排序时间 template<typename T> void testSort(string sortName, void(* sort) (T [],int ),T arr[],int n){ clock_t startTi ...
分类:其他好文   时间:2020-11-21 12:07:18    阅读次数:5
leetcode 116. Populating Next Right Pointers in Each Node
You are given a perfect binary tree where all leaves are on the same level, and every parent has two children. The binary tree has the following defin ...
分类:其他好文   时间:2020-11-20 12:00:39    阅读次数:9
COMP9024
Data Structures and Algorithms COMP9024 20T3AssignmentTripPlannerObjectivesThe assignment aims to give you more independent, self-directed practicewit ...
分类:其他好文   时间:2020-11-19 12:11:27    阅读次数:7
群消息,究竟存1份还是多份?
群消息,究竟存一份还是多份?上一篇文章《群消息已读回执,究竟是推还是拉?》说,“很容易想到,是存一份”,被网友们骂了。网友骂的对,任何技术方案,都不是天才般灵感乍现想到的,一定是一个演进迭代,逐步优化的过程。今天就聊一聊,群消息,为啥只需要存一份。群信息,用户信息,群成员关系都是基础数据:group_info(gid,group_info);user_info(uid,user_info);gro
分类:其他好文   时间:2020-11-18 12:22:35    阅读次数:3
6715条   上一页 1 ... 17 18 19 20 21 ... 672 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!