摘要: 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 阅读(23) 评论(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 阅读(18) 评论(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 阅读(15) 评论(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 阅读(23) 评论(0) 推荐(0)
摘要: Reformat The String You are given an alphanumeric string s. (Alphanumeric string is a string consisting of lowercase English letters and digits). You 阅读全文
posted @ 2022-11-04 19:05 iyiluo 阅读(18) 评论(0) 推荐(0)