Posts
-
如何計算 CPU Cache size?
最近跟學長討論到一個經典面試題目「該如何用程式算出 CPU Cache size?」
雖然有聽過基本概念但是沒有仔細研究過,今天就來好好研究一下。
在做實驗的同時也複習不少計組的東西,自己動手做果然非常有感,推理的過程非常有意思,跟以前為了應付考試臨時抱佛腳感覺是完全不一樣的! -
LeetCode#1 Two Sum
這題是LeetCode的天字第一號,應該算是蠻基本的題目。沒想到最近有強者我朋友表示他在面試就被問到了,看來需要認真了解一下才行!
-
用FB打卡紀錄在Google Map打點
這一篇我們要用上一篇取得的資料來打點了!
-
Query Facebook 打卡地點 by Graph API
最近剛好在玩Google Map與FB的應用, 順手紀錄下來分享一下
-
LeetCode#5 Longest Palindromic Substring (Manacher's algorithm)
題目
Given a string s, find the longest palindromic substring in s. You may assume that the maximum length of s is 1000.
-
"How Google Tests Software?" Ch1 - Introduction 重點&心得

-
Use structure to read/write register's value
這幾天從大神同事那裡聽到這個小技巧, 分享給大家
-
Remove the comma in variadic macro
Problem Definition
Remove the comma in variadic macro when there is no argument with GCC extension.
-
Hello jekyll 2019
2019年了, 下定決心要做一些改變! 就從寫部落格開始…吧?