2024 iThome 鐵人賽
Share More Gain More
佛心分享-刷題不只是刷題
選手 27 文章 768
Day 14
2024-08-23
582
0
69. Sqrt(x) 题目描述: 實現 int sqrt(int x) 函數,計算並返回 x 的平方根,其中 x 是非負整數。由於返回類型是整數,結果只保留整...
2833. Furthest Point From Origin tags: Easy、Pointer You are given a string move...
MediumRelated Topics: Array / Two Pointers / Binary Search / SortingLeetCode So...
Day 24
2024-09-05
573
0
Winter is coming! During the contest, your first job is to design a standard he...
給定一棵二元搜尋樹,請找出任意兩個節點之間的最小絕對差值。 這道題的特點是利用 BST 的性質:中序遍歷 的結果會是一個遞增的序列。因此,最小差值一定出現在相鄰...
這題 844. Backspace String Compare 我們需要比較兩個包含 backspace (#)的字串,判斷它們是否相等。 題目:給定兩個字串...