上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 33 下一页
摘要: Shift 2D Grid Given a 2D grid of size m x n and an integer k. You need to shift the grid k times. In one shift operation: Element at grid[i][j] moves 阅读全文
posted @ 2022-11-08 19:29 iyiluo 阅读(18) 评论(0) 推荐(0)
摘要: Merge Similar Items You are given two 2D integer arrays, items1 and items2, representing two sets of items. Each array items has the following propert 阅读全文
posted @ 2022-11-07 19:49 iyiluo 阅读(23) 评论(0) 推荐(0)
摘要: Element Appearing More Than 25% In Sorted Array Given an integer array sorted in non-decreasing order, there is exactly one integer in the array that 阅读全文
posted @ 2022-11-07 19:49 iyiluo 阅读(15) 评论(0) 推荐(0)
摘要: Maximum Number of Words Found in Sentences A sentence is a list of words that are separated by a single space with no leading or trailing spaces. You 阅读全文
posted @ 2022-11-07 19:48 iyiluo 阅读(30) 评论(0) 推荐(0)
摘要: Check if Number Has Equal Digit Count and Digit Value You are given a 0-indexed string num of length n consisting of digits. Return true if for every 阅读全文
posted @ 2022-11-04 19:10 iyiluo 阅读(26) 评论(0) 推荐(0)
摘要: Reach a Number You are standing at position 0 on an infinite number line. There is a destination at position target. You can make some number of moves 阅读全文
posted @ 2022-11-04 19:10 iyiluo 阅读(22) 评论(0) 推荐(0)
摘要: Minimum Difference Between Highest and Lowest of K Scores You are given a 0-indexed integer array nums, where nums[i] represents the score of the ith 阅读全文
posted @ 2022-11-04 19:07 iyiluo 阅读(17) 评论(0) 推荐(0)
摘要: Jewels and Stones You're given strings jewels representing the types of stones that are jewels, and stones representing the stones you have. Each char 阅读全文
posted @ 2022-11-04 19:07 iyiluo 阅读(15) 评论(0) 推荐(0)
摘要: Minimum Absolute Difference Given an array of distinct integers arr, find all pairs of elements with the minimum absolute difference of any two elemen 阅读全文
posted @ 2022-11-04 19:06 iyiluo 阅读(14) 评论(0) 推荐(0)
摘要: Robot Return to Origin There is a robot starting at the position (0, 0), the origin, on a 2D plane. Given a sequence of its moves, judge if this robot 阅读全文
posted @ 2022-11-04 19:06 iyiluo 阅读(21) 评论(0) 推荐(0)
上一页 1 ··· 18 19 20 21 22 23 24 25 26 ··· 33 下一页