有些內容使用中英雙語,有些只有英文或中文。歡迎使用與分享任何內容,但先來信告知並標示此部落格為出處。
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年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.

2014年7月7日 星期一

[FLOLAC] 安裝Haskell環境與基本操作教學 - 使用GHCi

在 2014 FLOLAC的時候,接觸我第一個functional language - Haskell !
如果你也有興趣想接觸一下Haskell ~ 就來安裝一下吧 XD
我是安裝GHCi在Windows環境裡面,請點這裡下載。

[Haskell] FLOLAC - Functional Programming Practicals 2 - Products and Sums 乘積和合

在上 FLOLAC 的課程時,老師出了一些 Haskell 的練習題給我們練習。
這邊我列出第二部分的題目跟我作的參考答案~
但我還是建議你看原版的PDF (有全部的題目) 會比較清楚XD

When I am studying in the FLOLAC, the teacher gave us some Haskell exercises to practice.
I put the problems and my answer of section 3 to this article! ( for List and recursive functions.)
But I think you should see the original practicals PDF, which is more clear.

[Haskell] FLOLAC - Functional Programming Practicals 1 - Functions 函數

在上 FLOLAC 的課程時,老師出了一些 Haskell 的練習題給我們練習。
這邊我列出第一部分的題目跟我作的參考答案~ (練習使用函數!)
但我還是建議你看原版的PDF (有全部的題目) 會比較清楚XD
BTW, 目前我跳過第六題了XD

When I am studying in the FLOLAC, the teacher gave us some Haskell exercises to practice.
I put the problems and my answer of section 3 to this article! ( for List and recursive functions.)
But I think you should see the original practicals PDF, which is more clear.

2014年7月6日 星期日

[Haskell] FLOLAC - Functional Programming Practicals 3 - Lists and Recursive Function 遞回函數

在上 FLOLAC 的課程時,老師出了一些 Haskell 的練習題給我們練習。
這邊我列出第三部分的題目跟我作的參考答案~ (練習使用 List 跟寫遞回函數!)
但我還是建議你看原版的PDF (有全部的題目) 會比較清楚XD

When I am studying in the FLOLAC, the teacher gave us some Haskell exercises to practice.
I put the problems and my answer of section 3 to this article! ( for List and recursive functions.)
But I think you should see the original practicals PDF, which is more clear.

2014年7月2日 星期三

看卡通、影集接觸美國文化 learn US culture through fun things

一樣是新篇章,先寫一點,以後會慢慢寫~
目前主要是從我看的美國影集或卡通裡面,如果有看到不懂得就查詢記錄一下XD
可能以後來源會是實際接觸,不過要是遊記類的,我應該會寫在第二個部落格(?)

2014年6月29日 星期日

[更新] Study Abroad 留學之路 - 問與答 FAQs

持續更新中(6/29, 2014)

有我自己當時的疑惑或是別人問我的問題~
再次強調,作者申請的是美國大學研究所,幾乎都是投CS碩士。

問題目前還沒什麼好的編排順序...