A Software Engineer lives in Beijing, China
SDE II @ Amazon
It has been 9 months since I moved back to Beijing, China. I am refactoring my personal website and blog.
昨天在 Chicago 的羽博士发给我张图，说买了我司的产品，发给我一张手拿 Amazon Fire 的照片。
最近需要做一些 Android 单核处理器上的 thread model 的设计，用这个博客收集一些资料并记录一些想法。
“Edit Distance” is the number of steps required to convert from word A to word B. I was asked to find minimum steps in a past on-site interview as a second coding question. I’ve never heard about the concept of “Edit Distance” before that interview, and I wasn’t able to find a good solution to that problem at that time neither.
After the interview, my wife told me that she saw this problem in LeetCode, then I found it and finally solved it.
如今物联网（IoT, Internet of Things）势头正猛，抽出时间看了几本书，了解了一下物联网的概念以及软硬件上的层级结构。顺便搜索了一下有哪些物联网服务提供商。发现真的很多现成的服务可用，这里一边做调查，一边简单地记录。
该算法引入一个无符号整形计数器用来统计对象的被引用数，所以该算法中的对象构成是“计数器”+“域” 。该算法没有明确的用来启动 GC 的语句，其通过计数器的增减来管理内存。