Coding Bro

代码笔记哥的博客

从4种大脑储备知识的结构看如何从学渣到学神

The Mind Structure of Smart Study People

今晚本想刷一道题目的,但想到刷题的本质是什么,目的是什么,就觉得有必要把之前从知乎上读到的一篇关于学渣、学弱、学霸、学神的大脑知识结构图谱整理出一个笔记来。原文我已经忘记在哪儿了,就凭自己的记忆,复构一下对自己有帮助的要点。 然后,那篇文章的一个重点,我先敲一下黑板! 学渣、学弱、学霸、学神的关系并不是固定不可变的,而是可以从学渣->学弱->学霸->学神进行转变的! ...

LeetCode 226. Invert Binary Tree 从这题了解算法面试的套路

LeetCode 226. 翻转二叉树

什么是算法面试的套路? 很多小伙伴发现自己在北美的软件工程师算法面试中,题都答对了,为什么最后没有给Offer呢? 原来,算法考察的不仅仅是写代码的能力,它还考察你的考虑问题的全面性、你的思路、语言表达以及是否会主动跑个测试这样的好习惯等等方面的能力。而且,即便是考LeetCode原题,你到底是背答案背进去的,还是理解了讲清楚写出来的,这里面也是有很大差别的呢。 因此,我这里总结了回答一道...

My Own Mac Notes

个人Mac相关笔记

How to install some tool without fully install Xcode on Mac? Some command line tool on Mac requires you to install Xcode but you may rarely use Xcode for iOS development, then you may consider foll...

My Own Git Notes

个人Git笔记

Useful Commands $ git commit -n $ git commit -n, the -n is not a supported argument, if you look into https://git-scm.com/docs/git-commit/1.5.5. But my company uses it to do enforced es-linting ...

Feature Adding on my Blog

博客加功能📝

2018-05-28 Configure Disqus on my blog Besides adding my disqus shortname to _config.yml, I also need to follow hints here Basically, it means on this page, I need to select the option “I want to i...

TypeScript 技巧笔记

TypeScript Tips

Below are my personal notes on TypeScript. What is TypeScript and its relationship with JavaScript? See this article on Wiki.

JavaScript 技巧笔记

JavaScript Tips

Below are my personal notes on how to efficiently and smartly use JavaScript functions and features. “this” keyword In the code snippets below, assume there are already controllers wrapping them, ...