On a mysterious island there are creatures known as Quxes which come in three colors: red, green, an ...
This problem was asked by Twitter. You run an e commerce website and want to record the lastNorderids in a log. Implement a data structure to accomplish this, with the following API: record order id : ...
2018-12-14 01:45 0 1199 推荐指数:
On a mysterious island there are creatures known as Quxes which come in three colors: red, green, an ...
A quack is a data structure combining properties of both stacks and queues. It can be viewed as a li ...
This problem was asked by Google. In a directed graph, each node is assigned an uppercase letter. We define a path's value as the number of most ...
This problem was asked by Google. Implement locking in a binary tree. A binary tree node can be locked or unlocked only if all of its descendants ...
一、shell的反弹: 在很多时候,我们得到一个可以执行OS命令的点,但是我们发现可能是杀软的原因导致木马被杀或被拦截了,此时我们就无法上线,但是又能确定是可以出网的,这个时候就可以把shell反弹 ...
磁盘的容量单位常用的有M G T , 他们之间的换算关系为 1T =1024G 1G=1024M现在给定n块磁盘的容量,请对他们按从小到大的顺序进行稳定排序 例如给定5块盘的容量51T20M3G10G6T3M12G9M 排序后的结果为20M3G3M 12G 9M1T,10G 6T注意单位 ...
楔子 主从同步(主从复制)是 Redis 高可用服务的基石,也是多机运行中最基础的一个。我们把主要存储数据的节点叫做主节点(master),把其他通过复制主节点数据的副本节点叫做从节点(slave) ...
存储方法:第一种(Vuex)(PS:刷新就清空时使用或者使用eventBus全局变量也行。) 第二种(sessionStorage)(PS:刷新不清空关闭窗口才清空时请用。) 第三种(localSt ...