上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 33 下一页
摘要: String Matching in an Array Given an array of string words, return all strings in words that is a substring of another word. You can return the answer 阅读全文
posted @ 2023-03-11 13:36 iyiluo 阅读(24) 评论(0) 推荐(0)
摘要: Rectangle Overlap An axis-aligned rectangle is represented as a list [x1, y1, x2, y2], where (x1, y1) is the coordinate of its bottom-left corner, and 阅读全文
posted @ 2023-03-11 13:35 iyiluo 阅读(22) 评论(0) 推荐(0)
摘要: Shuffle String You are given a string s and an integer array indices of the same length. The string s will be shuffled such that the character at the 阅读全文
posted @ 2023-03-04 12:19 iyiluo 阅读(18) 评论(0) 推荐(0)
摘要: Shuffle the Array Given the array nums consisting of 2n elements in the form [x1,x2,...,xn,y1,y2,...,yn]. Return the array in the form [x1,y1,x2,y2,.. 阅读全文
posted @ 2023-03-04 12:19 iyiluo 阅读(13) 评论(0) 推荐(0)
摘要: Day of the Year Given a string date representing a Gregorian calendar date formatted as YYYY-MM-DD, return the day number of the year. Example 1: Inpu 阅读全文
posted @ 2023-03-04 12:19 iyiluo 阅读(16) 评论(0) 推荐(0)
摘要: Day of the Week Given a date, return the corresponding day of the week for that date. The input is given as three integers representing the day, month 阅读全文
posted @ 2023-03-04 12:19 iyiluo 阅读(12) 评论(0) 推荐(0)
摘要: Lemonade Change At a lemonade stand, each lemonade costs $5. Customers are standing in a queue to buy from you and order one at a time (in the order s 阅读全文
posted @ 2023-02-27 21:23 iyiluo 阅读(22) 评论(0) 推荐(0)
摘要: Divisor Game Alice and Bob take turns playing a game, with Alice starting first. Initially, there is a number n on the chalkboard. On each player's tu 阅读全文
posted @ 2023-02-27 21:22 iyiluo 阅读(12) 评论(0) 推荐(0)
摘要: Valid Boomerang Given an array points where points[i] = [xi, yi] represents a point on the X-Y plane, return true if these points are a boomerang. A b 阅读全文
posted @ 2023-02-27 21:22 iyiluo 阅读(12) 评论(0) 推荐(0)
摘要: Remove All Adjacent Duplicates In String You are given a string s consisting of lowercase English letters. A duplicate removal consists of choosing tw 阅读全文
posted @ 2023-02-27 21:22 iyiluo 阅读(19) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 33 下一页