You are given two integer arrays nums1 and nums2, sorted in non-decreasing orde...
2848. Points That Intersect With Cars
tags: Easy、Pointer
You are given a 0-inde...
70. Climbing Stairs
题目描述:
假設你正在爬樓梯,需要爬 n 階才能到達樓頂。每次你可以選擇爬 1 個或 2 個台階。請問有多少種不同的方法...
K-Way Merge? 先來點解釋吧!
K-Way Merge就是將k個已排序陣列,合併成一個單一的有排序陣列,這樣的技巧利用了已排序的輸入達到高效且有序的...
MediumRelated Topics: Math / String / SimulationLeetCode Source
解題想法
首先我們要定義分子...
2833. Furthest Point From Origin
tags: Easy、Pointer
You are given a string move...