02 2023 档案
摘要:Given the array restaurants where restaurants[i] = [idi, ratingi, veganFriendlyi, pricei, distancei]. You have to filter the restaurants using three f
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文
摘要: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
阅读全文