LeetCode - Happy Number

LeetCode 的 Happy Number 題目如下: Write an algorithm to determine if a number is “happy”. ...

September 18, 2015 · 1 min · 282 words · Larry Nung

SpecFlow - Getting Started

Specflow 使用前 Visual Studio 需先透過 Extension Manager 搜尋並安裝 SpecFlow Extension。 ...

September 13, 2015 · 4 min · 1678 words · Larry Nung

Permission denied for a Mac OSX Dropbox app

最近 Mac 的 Dropbox 突然出問題,可能是前陣子搬動家目錄所導致,想將他進行重裝還原,但過程中總是會跟我要求提升權限: ...

September 12, 2015 · 1 min · 155 words · Larry Nung

LeetCode - Roman to Integer

LeetCode 的 Roman to Integer 題目如下: Given a roman numeral, convert it to an integer. ...

September 11, 2015 · 1 min · 447 words · Larry Nung

LeetCode - Length of Last Word

LeetCode 的 Length of Last Word 題目如下: Given a string s consists of upper/lower-case alphabets and empty space characters ’ ‘, return the length of last word in the string. ...

September 11, 2015 · 1 min · 219 words · Larry Nung

Casting (Boxing/Unboxing) is better than parsing

以往我們在將 Object 中被裝箱的數值轉成數值時,大概會有兩種作法。 ...

August 23, 2015 · 1 min · 274 words · Larry Nung

LeetCode - Power of Two

LeetCode 的 Power of Two 題目如下: Given an integer, write a function to determine if it is a power of two. ...

August 23, 2015 · 1 min · 303 words · Larry Nung

Visual Studio 2015 - Diagnostic Tools

Diagnostic Tools 是 Visual Studio 2015 的新功能,能幫助開發人員快速的找出效能上的問題。 ...

August 17, 2015 · 1 min · 301 words · Larry Nung

LeetCode - Valid Anagram

LeetCode 的 Valid Anagram 題目如下: Given two strings s and t, write a function to determine if t is an anagram of s. ...

August 15, 2015 · 1 min · 214 words · Larry Nung

LeetCode - Plus One

LeetCode 的 Plus One 題目如下: Given a non-negative number represented as an array of digits, plus one to the number. ...

August 12, 2015 · 1 min · 292 words · Larry Nung