LeetCode – Maximum Depth of Binary Tree

Given a binary tree, find its maximum depth. The maximum depth is the number of nodes along the longest path from the root node down to the farthest leaf node.…

2020-06-23 · 1 分钟

LeetCode – Minimum Depth of Binary Tree

Given a binary tree, find its minimum depth. The minimum depth is the number of nodes along the shortest path from the root node down to the nearest leaf node.…

2020-06-23 · 1 分钟

Linux Swap 启停及swappiness设置

可以通过磁盘分区和文件两种方式进行操作

2020-06-21 · 2 分钟

The XY Problem

原文链接 The XY Problem

2020-06-21 · 2 分钟

安全攻防技能-安全基础概念

cybersecurity: 网络空间安全涉及旨在保护设备,网络,程序和数据免受攻击和未经授权的访问的一系列实践,流程和技术; 网络安全不仅可以保护数据,还可以保护存储数据的资源和技术。

2020-06-20 · 7 分钟

LeetCode – Binary Tree Level Order Traversal Solution

Given a binary tree, return the _level order_ traversal of its nodes' values. (ie, from left to right, level by level). For example: Given binary tree [3,9,20…

2020-06-09 · 1 分钟

Timers and time management in the Linux kernel. Part 7.

这篇文章 Timers and time management in the Linux kernel. Part 7

2020-06-07 · 12 分钟

/proc/buddyinfo文件

/proc/buddyinfo 文件可以查看Linux机器上可用的内存页, 可以查看每个节点,不同区域的每个order大小的块的可用数量, 下面是我们虚拟机的信息:

2020-06-06 · 3 分钟

LeetCode –Binary Tree Postorder Traversal

Given a binary tree, return the _postorder_ traversal of its nodes' values. Example: Input:  [1,null,2,3] \\ / Output:  [3,2,1] Follow up: Recursive solution…

2020-06-04 · 1 分钟

功能点分析法整理

由于工作需要,需要在项目立项前都需要进行功能点估算, 为后续计算项目组的的工作效率做准备。目前做了几次估算,在这里整理和总结一下。 我们目前使用的评估的标准参考 IFPUG: ISO/IEC 20926:2009 定义: 功能点是业务功能的单位, 也就是从用户视角的进行评估, 是可以和用户交流的。对于我现在实施的外包项…

2020-06-04 · 3 分钟