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

Udacity CS101 - Lesson 1, problem set 9

初學 python,只會加減乘除來作小數的四捨五入~
看這個小小題目熊熊愣了一下,因為我直覺只想到條件式(還沒學到啊啊啊啊)

2014年6月21日 星期六

Study Abroad 留學之路 - GPA 介紹、計算與建議

總覽在這兒: 留學之路 - 我要準備留學! overview
建議先閱讀: 留學之路 - 基礎知識、名詞介紹

GPA 是「成績平均績點」,全名是 Grade Point Average。

在美國學校的成績考核,幾乎都是用「字母」來給分,在電影中大家可能看過,
小朋友拿了個A, B, C, D 之類的,這就是他們的成績標準。

2014年6月18日 星期三

好用的繪圖軟體 - yEd Graph Editor 安裝及介紹

yED 是一套免費的會圖軟體,是由JAVA所開發的跨平台軟體,
以可執行於支援JAVA的各種平台 (Ex: Windows, Linux, Max OS)。
這邊可以驗證你的電腦是否有 JAVA,如果沒有可以安裝。

yED 是 yWorks 公司的產品之一!
如果購買此公司的其他產品應會有更多強大的功能(我沒買過..)。

但要應付一般的繪圖已經足夠!!!
可繪製:心智圖(mind maps)、流程圖(flowcharts)、network diagrams, UML diagrams, BPMN diagrams組織結構圖(organization charts)Entity Relationship diagrams(軟體工程所用)。

2014年6月10日 星期二

LeetCode OJ - Longest Common Prefix (C++) (try 2 times)

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

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 Longest Common Prefix solution.

2014年6月6日 星期五

Study Abroad 留學之路 - 準備托福 TOEFL iBT

總覽在這兒: 我要準備留學! overview
建議先閱讀: 留學之路 - 基礎知識、名詞介紹
超熱門文章GPA 介紹、計算與建議
延伸先閱讀: 我的背景與申請結果
強烈建議讀準備流程、時間規劃


TOEFL 是英文能力檢定,考聽、說、讀、寫四個部份,由 ETS 主辦(官方網站)。

給計劃留學(美國)/國外交換的人 :
如果你是國際學生(非美國公民)
除非你符合一些條件(Ex: 在英語系國家拿學位之類的),
否則不管是申請碩士、博士、交換生,都需要托福成績。
申請美國學校幾乎都用托福 (除了極少 program 只看雅斯)。

給單純提升英文能力的人 :
歡迎用心準備托福考試,我都把英文考試,當作增進自己能力的過程。
因為都已經繳了報名費,而且在有時間限制下,我會比較認真念書...
在資訊時代,如果要接受更多的資訊跟快速學習,英文還是很重要的。
會英文不是萬能,但如果不會可能萬萬不能阿~~


2014年6月4日 星期三

LeetCode OJ - Search Insert Position (C++) (try 3 times)

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

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 Search Insert Position solution.

LeetCode OJ - Single Number (improve)(C++)(try 1 time)

為了練習尋找實習時會碰到的問題,我用別人推薦的 LeetCode online judge。
希望能直接寫程式,不用事先編譯就能直接AC。
下面是我寫的  Single Number 的解法。
這是改良後的版本,這邊是舊版本
執行時間為 O(n), 並且沒用到額外記憶體!

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 Single Number solution.
It's a improved version. See the older version here.
Time complexity is O(n), ans I implement it without using extra memory.