You are given a very large integer n, represented as a string,negative and an in...
適應多種題型是提高學習效果和考試表現的關鍵。面對不同類型的題目,我們需要靈活應用所學知識和技巧,才能全面掌握學科內容並在考試中取得好成績。
首先,熟悉各種題型是...
Problem :
Given the root of a binary tree, return the level order traversal of i...
二元堆積樹(Heap)的筆記
學習影片
https://www.youtube.com/watch?v=klbGg8dmYTM
基本定義
Heap(堆積)...
useContext
useContext 是 react 提供的一個 hook,可以讓我們透過讀取和訂閱元件中 context 共享元件之間的資料,主要是用來...
今天就不多廢話了我們直接上題目吧(難度:hard)這次要講的是第四題:Median of Two Sorted Arrays
題目
翻譯
有兩個已經排序好的陣...