Archive of stories published by Leetcode 演算法教學

[054] LeetCode 219演算法【Contains Duplicate III】 包含重複值 III

220. Contains Duplicate III (Medium)

Given an array of integers, find out whether there are two distinct indices i and j in the array such that the absolute difference between nums[i] and nums[j] is at most t


[055] LeetCode 55演算法【Jump Game】 跳躍遊戲

55. Jump Game (Medium)

Given an array of non-negative integers, you are initially positioned at the first index of the array.

Each element in the array represents your maximum jump length at that position.

These were the top 10 stories published by Leetcode 演算法教學; you can also dive into yearly archives: 2019, 2020.

About
Leetcode 演算法教學
Fix all leetcode problems
More information
Tags
Editors
Writers