Given an integer array nums and an integer k, return the kth largest element in...
題目
1310. XOR Queries of a Subarray難度: 中等偏易
題意
給定一整數陣列arr;給定一整數陣列的陣列queries,其中que...
在這道題目中,我們要判斷兩棵二元樹是否完全相同。兩棵二元樹被認為是相同的當且僅當它們的結構相同,且相同位置的節點具有相同的值。
題目:給定兩棵二元樹 p 和 q...
1046. Last Stone Weight
題目描述
有一堆石頭,每塊石頭的重量都是正整數。
每次挑出兩塊最重的石頭,互相撞擊:
如果兩塊石頭的重量相等...
前言
本日進度:
[x] 6 題 web
Writeup
第一題:findme
用他的密碼 test / test! 登入,但這樣好像拿不到什麼,打開 B...
原文題目Given the root of a binary tree, invert the tree, and return its root.
題目摘要...