Egbert Lin's Blog

“Life is not a race, but a journey to be savoured each step of the way” by Brian Dyson

112. Path Sum

Question:

Given a binary tree and a sum, determine if the tree has a root-to-leaf path such that adding up all the values along the path equals the given sum.

Note: A leaf is a node with no children.

Read more »

How to add recent posts to Next theme(v8.x.x)

If you have managed your blog for a long time, maybe you want to reach high impression, you can append Recent Post to sidebar. Viewers can see it whatever the article they read.

Read more »

Bootcamp: File sharing between Mac OS X and Windows 10 on MacBook Pro

Here are some reason you should consider deploying Windows on your Mac device. 1. More games with better performance in Windows OS. 2. Some Applications don't work in macOS or not support all functions. 3. Developers need to test projects in Windows OS.

So, I shared my experience to save your time of installing Windows on MacBook Pro.

Read more »