摘要:
31. Next Permutation Medium Implement next permutation, which rearranges numbers into the lexicographically next greater permutation of numbers. If su 阅读全文
摘要:
18. 4Sum Medium Given an array nums of n integers, return an array of all the unique quadruplets [nums[a], nums[b], nums[c], nums[d]] such that: 0 <= 阅读全文
摘要:
207. Course Schedule Medium There are a total of numCourses courses you have to take, labeled from 0 to numCourses - 1. You are given an array prerequ 阅读全文
摘要:
743. Network Delay Time Medium You are given a network of n nodes, labeled from 1 to n. You are also given times, a list of travel times as directed e 阅读全文
摘要:
292. Nim Game You are playing the following Nim Game with your friend: Initially, there is a heap of stones on the table. You and your friend will alt 阅读全文
摘要:
55. Jump Game Medium You are given an integer array nums. You are initially positioned at the array's first index, and each element in the array repre 阅读全文