原文題目Given the root of a binary tree, return the inorder traversal of its nodes'...
這題要在一個完美二元樹(每個節點都有兩個子節點,且葉節點在同一層)中,把每個節點的 next 指針指向它的右邊相鄰節點,如果沒有右邊相鄰節點,就把 next 指...
Writeup
第一題:SQL Direct
查了一下知道可以用 \d 先看看 table 的 schema,最後再用 select * from flags...
🟨三角形
本題取自 Leetcode 120. Triangle
題目
Given a triangle array, return the minimum p...
今天也繼續繼續加油,繼續刷刷刷刷刷刷~————————————我是可愛的題目分隔線————————————
題目1:Python 的類別內的關鍵字self 是什...
題目 19:「移除鏈結串列的倒數第 N 個節點 (Remove Nth Node From End of List)」是一道鏈結串列操作問題,主要目標是從單向鏈...