Homepage
Open in app
Sign in
Get started
Hannah Lin
來自台灣的矽谷軟體工程師女孩
Life in the U.S.
React / JS /TS
Unit & E2E Testing
Cyber security
Interview
前端工程師用 js 學演算法
Follow
[資料結構筆記] Hashing
[資料結構筆記] Hashing
Hash maps and sets
Hannah Lin
Aug 4
[演算法筆記] Two Pointer & Prefix sum
[演算法筆記] Two Pointer & Prefix sum
Start the pointers L=0,R=input.length — 1at the edges of the input. Move them towards each other until they meet.
Hannah Lin
Aug 1
[演算法筆記] Sliding window
[演算法筆記] Sliding window
資料內有一個滿足特定條件長度的窗口 (make a subarray “valid”),可以藉由滑動此窗口來取得想要的資料
Hannah Lin
Jul 29
React Reconciliation
React Reconciliation
一個找出新舊 Virtual DOM Tree 差異的演算法,來決定畫面要如何更新
Hannah Lin
Jul 16
[面試] 中英對照之 TS 面試題
[面試] 中英對照之 TS 面試題
什麼是 TS?、 TS 優缺點、Type 跟 Interface 差別、Generics 是啥、any/unknown/never/undefined 差別…
Hannah Lin
Apr 28
錯誤處理 Error Handling in JS
錯誤處理 Error Handling in JS
try…catch 只是第一步
Hannah Lin
Mar 25
[TypeScript] 用生活例子圖解 Utility Types
[TypeScript] 用生活例子圖解 Utility Types
用生活例子日圖解五大類: Object Type 、 Union Type、 Function Type、Promise 所對應的 Utility Types
Hannah Lin
Jan 30
[TypeScript] The `extends` keyword
[TypeScript] The `extends` keyword
extends 在 TS 裡是一個非常重要的關鍵字,並且分別用在兩種完全不同的地方
Hannah Lin
Jan 6
[TypeScript] Generics 的使用情境
[TypeScript] Generics 的使用情境
不預先指定具體型別,只有在使用時才指定型別
Hannah Lin
Jan 2
優雅的在 React 中使用 TS
優雅的在 React 中使用 TS
學習常見 React Prop Types,例如跟使用者互動的 Event Types、children 該用什麼 type、客製元件該怎麼使用 ComponentProps 繼承 native element 等等
Hannah Lin
Nov 1, 2023
About Hannah Lin
Latest Stories
Archive
About Medium
Terms
Privacy
Teams