原文題目
A trie (pronounced as "try") or prefix tree is a tree data struct...
useCallback的用途和使用時機
useCallback hook 最主要的作用在於幫助其他 React 效能優化的手段維持正常,例如:React.mem...
Given a 0-indexed integer array nums of size n and two integers lower and upper,...
前言
今天要解的題目是 Find the Duplicate Number(尋找重複數字)。這道題有一點點小挑戰,因為我們需要在不修改原陣列的情況下,找出唯一...
今天來解YKL29(UVA11417):GCD
GCD
找兩個數字之間的最大公因數
用a%b來縮小問題的規模
假設我們要計算 GCD(48, 18):48 %...
題目 Irish-Name-Repo 2
sql injection問題
預防方法#2
待補待補待補待補待補待補待補待補待補待補待補待補待補待補待補待補待補...