LeetCode – Perfect Squares
Given a positive integer _n_, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to _n_. Example 1: Input: _n_ = Output…
Given a positive integer _n_, find the least number of perfect square numbers (for example, 1, 4, 9, 16, ...) which sum to _n_. Example 1: Input: _n_ = Output…
Linux task_struct 结构中 涉及进程状态的属性有三个,其中进程对应的状态分为两类, 一类是运行中状态, 另一类是进程退出状态。
这篇文章 Delightful User Interfaces: Easter Eggs 是出自 Netflix
在上网下载镜像或安装文件时经常会看到MD5,SHA-1,SHA-256 ,signature,一起显示,这些文件帮助我们验证下载的文件是否损坏或者被篡改以及文件的真实性, 散列值可以使用windows, macOS,Linux内置命令进行验证。 文件签名可以使用工具gpg进行校验。
You have a lock in front of you with circular wheels. Each wheel has slots: '0', '1', '2', '3', '4', '5', '6', '7', '8', '9'. The wheels can rotate freely and…
这篇文章 Predictive CPU isolation of containers at Netflix
并发(concurrency):实际上串行发生的事情好像同时发生,表述了单核处理器中线程或者进程的行为特点 - 并行(parallelism):并发序列同时执行, 真正的并行只能在多处理其上存在。 异步(asynchronous)与同步(synchronous)区别在于发需求的人是否需要等到需要完成才可以执行其他事情。…
insmod: ERROR: could not insert module .ko: Unknown symbol in module - 在实际编译运行 什么是RCU :API 中的例子 rcu_examplehttps:/
Given a 2d grid map of '1's (land) and '0's (water), count the number of islands. An island is surrounded by water and is formed by connecting adjacent lands…
这篇文章 RCU part 3: the RCU API