02 2023 档案

摘要:Given the array restaurants where restaurants[i] = [idi, ratingi, veganFriendlyi, pricei, distancei]. You have to filter the restaurants using three f 阅读全文
posted @ 2023-02-27 09:15 Grandyang 阅读(123) 评论(0) 推荐(0) 编辑
摘要:You are given a string s consisting only of letters 'a' and 'b'. In a single step you can remove one palindromic subsequence from s. Return the minimu 阅读全文
posted @ 2023-02-25 12:25 Grandyang 阅读(173) 评论(0) 推荐(0) 编辑
摘要:Given an array of integers arr, replace each element with its rank. The rank represents how large the element is. The rank has the following rules: Ra 阅读全文
posted @ 2023-02-19 09:20 Grandyang 阅读(192) 评论(0) 推荐(0) 编辑
摘要:You are given an integer array nums. The value of this array is defined as the sum of |nums[i] - nums[i + 1]| for all 0 <= i < nums.length - 1. You ar 阅读全文
posted @ 2023-02-14 11:14 Grandyang 阅读(146) 评论(0) 推荐(0) 编辑

Fork me on GitHub