有些內容使用中英雙語,有些只有英文或中文。歡迎使用與分享任何內容,但先來信告知並標示此部落格為出處。
Some parts use both Chinese and English, but some parts use only one language. Feel free to share, but please contact me first and list this blog as your reference.

2014年8月1日 星期五

LeetCode OJ - Length of Last Word (C++) (try 7 times)

為了練習尋找實習時會碰到的問題,我用別人推薦的 LeetCode online judge。
希望能直接寫程式,不用事先編譯就能直接AC。
這是下面是我寫的 Climbing Stairs 的解法。

To practice future interview question, I use LeetCode online judge.
I am trying to type code directly on website without compile in other tool.
The following program is my Length of Last Word solution.

2014年7月31日 星期四

LeetCode OJ - Climbing Stairs (C++) (try 8 times)

為了練習尋找實習時會碰到的問題,我用別人推薦的 LeetCode online judge。
希望能直接寫程式,不用事先編譯就能直接AC。
這是下面是我寫的 Climbing Stairs 的解法。

To practice future interview question, I use LeetCode online judge.
I am trying to type code directly on website without compile in other tool.
The following program is my Climbing Stairs solution.

LeetCode OJ - Binary Tree Postorder Traversal (C++) (1st AC) (Recursive)

為了練習尋找實習時會碰到的問題,我用別人推薦的 LeetCode online judge。
希望能直接寫程式,不用事先編譯就能直接AC。
這是下面是我寫的 Binary Tree Postorder Traversal的解法。

To practice future interview question, I use LeetCode online judge.
I am trying to type code directly on website without compile in other tool.
The following program is my  Binary Tree Postorder Traversal solution.

2014年7月26日 星期六

新訪客請進 - 部落格介紹! (最新更新)

首先非常感謝您參觀我的部落格,我從2014年開始寫此部落格 : )
作者台灣某大學畢業資訊人,所以大部分文章都有關程式   \(ˋ︿ˊ)/
在此簡單介紹如何流覽此部落格!

所有文章都可從 "Article Topics 文章分類" 找到。


 按 ►可以往下伸展,按 ▼ 可以網上收縮
按 → 可以看到同類型的文章! 上圖是所有分類收縮的時候。

2014年7月17日 星期四

LeetCode OJ - Binary Tree Preorder Traversal (C++) (try 3 times) (Iterative)

為了練習尋找實習時會碰到的問題,我用別人推薦的 LeetCode online judge。
希望能直接寫程式,不用事先編譯就能直接AC。
這是下面是我寫的 Binary Tree Preorder Traversal 的解法。

To practice future interview question, I use LeetCode online judge.
I am trying to type code directly on website without compile in other tool.
The following program is my Binary Tree Preorder Traversal solution.

LeetCode OJ - Binary Tree Preorder Traversal (C++) (try 2 times) (Recursive)

為了練習尋找實習時會碰到的問題,我用別人推薦的 LeetCode online judge。
希望能直接寫程式,不用事先編譯就能直接AC。
這是下面是我寫的 Binary Tree Preorder Traversal 的解法。

To practice future interview question, I use LeetCode online judge.
I am trying to type code directly on website without compile in other tool.
The following program is my Binary Tree Preorder Traversal solution.