彭璿 Lisa[LeetCode] 268. Missing Number 找出連續正整數中缺少的數字這題用最直覺的方法也可以過,不過也有更快速的解法~也就是國中學過的梯形面積算法(上底+下底)*高/2May 17May 17
彭璿 Lisa[LeetCode] 66. Plus One 最大精准度限制這題如果直接用最直覺的寫法,會因為踩到Javascript數字中最大精准度問題而錯誤喔~先來看看題目吧~May 13May 13
彭璿 Lisa[LeetCode] 11. Container With Most Water 水位問題這題雖然歸類在Medium,但只要理解two pointers的概念,好像寫起來比其他Medium簡單一些些些……(小確幸get)May 12May 12
彭璿 Lisa[LeetCode] 28. Find the Index of the First Occurrence in a String 完整出現的字串的第一個indexEasy難度的題目May 12May 12
彭璿 Lisa[Typescript] Type vs Interface 差異與選用時機剛接觸公司的專案、一打開大型code base時,看到團隊在typescript的寫法上常常有很大的問號 — 為什麼這裡要用type、這裡又要用interface?Jan 21Jan 21