摘要:
Min Cost Climbing Stairs You are given an integer array cost where cost[i] is the cost of ith step on a staircase. Once you pay the cost, you can eith 阅读全文
posted @ 2023-02-15 21:26
iyiluo
阅读(15)
评论(0)
推荐(0)
摘要:
Largest Number At Least Twice of Others You are given an integer array nums where the largest integer is unique. Determine whether the largest element 阅读全文
posted @ 2023-02-15 21:25
iyiluo
阅读(14)
评论(0)
推荐(0)
摘要:
Shortest Completing Word Given a string licensePlate and an array of strings words, find the shortest completing word in words. A completing word is a 阅读全文
posted @ 2023-02-15 21:25
iyiluo
阅读(14)
评论(0)
推荐(0)
摘要:
Minimum Distancd Between Nodes Given the root of a Binary Search Tree (BST), return the minimum difference between the values of any two different nod 阅读全文
posted @ 2023-02-15 21:25
iyiluo
阅读(47)
评论(0)
推荐(0)
摘要:
Goat Latin You are given a string sentence that consist of words separated by spaces. Each word consists of lowercase and uppercase letters only. We w 阅读全文
posted @ 2023-02-15 21:24
iyiluo
阅读(16)
评论(0)
推荐(0)
摘要:
Smallest Range I You are given an integer array nums and an integer k. In one operation, you can choose any index i where 0 <= i < nums.length and cha 阅读全文
posted @ 2023-02-15 21:24
iyiluo
阅读(19)
评论(0)
推荐(0)
摘要:
Shortest Distance to a Character Given a string s and a character c that occurs in s, return an array of integers answer where answer.length == s.leng 阅读全文
posted @ 2023-02-15 21:24
iyiluo
阅读(15)
评论(0)
推荐(0)
摘要:
Last Stone Weight You are given an array of integers stones where stones[i] is the weight of the ith stone. We are playing a game with the stones. On 阅读全文
posted @ 2023-02-15 21:23
iyiluo
阅读(26)
评论(0)
推荐(0)
摘要:
Height Checker A school is trying to take an annual photo of all the students. The students are asked to stand in a single file line in non-decreasing 阅读全文
posted @ 2023-02-15 21:23
iyiluo
阅读(24)
评论(0)
推荐(0)
摘要:
Maximum 69 Number You are given a positive integer num consisting only of digits 6 and 9. Return the maximum number you can get by changing at most on 阅读全文
posted @ 2023-02-15 21:22
iyiluo
阅读(18)
评论(0)
推荐(0)