題目
Leetcode 2024/09/14 Daily2419. Longest Subarray With Maximum Bitwise AND難度: 中...
題目
874. Walking Robot Simulation難度: 中間偏易
題意
有一機器人在2D XY平面上行走。初始座標為[0, 0],朝向北方。給定...
tags: Easy、Sort
Given an array of integers nums, sort the array in increasing o...
104. Maximum Depth of Binary Tree
题目描述:
給定一個二元樹的根節點 root,返回其最大深度。
Example 1:
In...
Given an integer array nums of length n where all the integers of nums are in t...
這題是設計一個資料結構,來動態地保持一組資料的第 K 大元素。這是典型的資料流問題,尤其適合使用堆來進行處理。
題目:
給定一個整數陣列 nums 和一個整數...