- 博客(4)
- 收藏
- 关注
原创 每日一练习——密码锁
DescriptionScrooge McDuck keeps his most treasured savings in a home safe with a combination lock. Each time he wants to put there the treasures that he's earned fair and square, he has to open the lock.The combination lock is represented by n rotating
2020-12-29 14:52:39
537
原创 每日一练习——车辆碰撞选好车问题
DescriptionLittle Susie, thanks to her older brother, likes to play with cars. Today she decided to set up a tournament between them. The process of a tournament is described in the next paragraph.There are n toy cars. Each pair collides. The result of
2020-12-29 14:17:37
194
原创 每日一练习——买香蕉问题
看到一个算法专栏的博主的博客 -->(MingShen),觉得很有意思,可惜博主是用C语言写的,征得博主同意后本考拉决定将这位博主的算法题(当然是在自己能力范围之内的)用 java 或 scala 进行实现,哈哈哈哈哈哈。DescriptionA soldier wants to buy w bananas in the shop. He has to pay k dollars for the first banana, 2k dollars for the second one and so
2020-11-12 11:26:05
668
原创 关于Redis那点事 —— 基础篇
关于Redis那点事(一)1. redis基本概念redis默认端口号:6379,默认共有16个数据库(0 ~ 15),如果不选择数据库,默认存储进入0号数据库redis是内存型数据库,数据的存储格式是K-V键值对形式,key是String类型的,value可以分为不同的数据结构,但是get查阅出来的所有的数据都是String类型reids的命令对大小写不敏感,但key对大小写敏感2. redis数据结构String#选择数据库select 0#查看已经使用字节数dbsize
2020-11-11 17:44:18
146
1
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人