If many people develop a large project (e.g. Chromium), many changes can be created all the time. If we update the code, we need to rebuild all the changed files which may take a lot of time.

Let us assume the name of the major develop branch is master. To speed up our build, we can checkout and update master branch everyday and then start a build before we get off work (or before the meal time). The build will be finished when we get back to work next morning. We can call it daily build.

阅读全文 »

很多公司技术岗面试都会考编程题来了解面试者的代码编写能力。毕竟如果只是单纯的口述,很难判断一个人的真实水平。编程题不可避免的会涉及到一些算法。

算法作为一项偏基础和理论的技能,对于程序员而言很重要。如果想要在技术方向深入发展,算法能力往往决定了你能走多远。但是前文已经提到,国内很多企业缺乏基础技术的研发能力,往往都是在做应用层,初阶程序员在工作过程中常常只是调用API,接触算法较少(尤其是前端开发),有点“面试造火箭,入职拧螺丝”的意思。

阅读全文 »

这篇文章是我在面试微软、头条并成功拿到Offer的过程中,准备简历时做的一些思考和总结,并提供我使用的简历模板下载。主要针对技术岗位。

明确目标

阅读全文 »

基本概念

图 (Graph) 是由若干给定的顶点及连接两顶点的边所构成的图形,这种图形通常用来描述某些事物之间的某种特定关系。顶点用于代表事物,连接两顶点的边则用于表示两个事物间具有这种关系。

阅读全文 »