摘要:
题目如下: We are given a list nums of integers representing a list compressed with run-length encoding. Consider each adjacent pair of elements [a, b] = [ 阅读全文
摘要:
题目如下: In the video game Fallout 4, the quest "Road to Freedom" requires players to reach a metal dial called the "Freedom Trail Ring", and use the dia 阅读全文
摘要:
题目如下: A car travels from a starting position to a destination which is target miles east of the starting position. Along the way, there are gas statio 阅读全文
摘要:
题目如下: Given a string s. In one step you can insert any character at any index of the string. Return the minimum number of steps to make s palindrome. 阅读全文
摘要:
题目如下: There are n people, each person has a unique id between 0 and n-1. Given the arrays watchedVideos and friends, where watchedVideos[i] and friend 阅读全文
摘要:
题目如下: Given a string s formed by digits ('0' - '9') and '#' . We want to map s to English lowercase characters as follows: Characters ('a' to 'i') are 阅读全文
摘要:
题目如下: Given an integer n, return any array containing n unique integers such that they add up to 0. Example 1: Example 2: Example 3: Constraints: 1 <= 阅读全文
摘要:
题目如下: Given two binary search trees root1 and root2. Return a list containing all the integers from both trees sorted in ascending order. Example 1: E 阅读全文
摘要:
题目如下: Given an array of non-negative integers arr, you are initially positioned at start index of the array. When you are at index i, you can jump to 阅读全文
摘要:
题目如下: Given n boxes, each box is given in the format [status, candies, keys, containedBoxes] where: status[i]: an integer which is 1 if box[i] is open 阅读全文