昨天我們才剛把 Integer to Roman 搞懂,今天馬上迎來反向操作 —— Roman to Integer。其實這題就像昨天的倒帶,只是方向顛倒了,但...
題目
給定一個只包含 '(' 和 ')' 的字串,返回其中 最長的有效括號子串長度。
範例
Input: "(()"Output: 2Exp...
今天是第十六天,把10-15天的程式截圖。
a010. 因數分解
a053. Sagit's 計分程式
d049. 中華民國萬歲!
d050. 妳那裡現...
Lowest Common Ancestor of a Binary Search Tree
thoughts
BST 性質:左子樹 < root &l...
厚厚厚厚各位晚安,歡迎來到 coding 小白盜版學校官網日記ㄉ第17天~這個計畫的內容是我這個coding超新手會在30裡,把複刻學校官網當作目標,從最基礎的...
前面我們用function定義函式都是長這樣:
function greet(name) {
console.log(`Hello, ${name}!`);...