摘要:
Maximum Score After Splitting a String Given a string s of zeros and ones, return the maximum score after splitting the string into two non-empty subs 阅读全文
posted @ 2023-05-18 20:25
iyiluo
阅读(15)
评论(0)
推荐(0)
摘要:
Check If it is a Straight Line You are given an array coordinates, coordinates[i] = [x, y], where [x, y] represents the coordinate of a point. Check i 阅读全文
posted @ 2023-05-18 20:25
iyiluo
阅读(12)
评论(0)
推荐(0)
摘要:
Minimum Cost to Move Chips to The Same Position We have n chips, where the position of the ith chip is position[i]. We need to move all the chips to t 阅读全文
posted @ 2023-05-18 20:24
iyiluo
阅读(12)
评论(0)
推荐(0)
摘要:
Unique Number of Occurences Given an array of integers arr, return true if the number of occurrences of each value in the array is unique or false oth 阅读全文
posted @ 2023-05-18 20:24
iyiluo
阅读(14)
评论(0)
推荐(0)
摘要:
Find Words That Can Be Formed by Characters You are given an array of strings words and a string chars. A string is good if it can be formed by charac 阅读全文
posted @ 2023-05-18 20:24
iyiluo
阅读(18)
评论(0)
推荐(0)
摘要:
Sort Array By Parity II Given an array of integers nums, half of the integers in nums are odd, and the other half are even. Sort the array so that whe 阅读全文
posted @ 2023-05-18 20:23
iyiluo
阅读(10)
评论(0)
推荐(0)
摘要:
Sort Array By Parity Given an integer array nums, move all the even integers at the beginning of the array followed by all the odd integers. Return an 阅读全文
posted @ 2023-05-18 20:23
iyiluo
阅读(10)
评论(0)
推荐(0)
摘要:
Distance Between Bus Stops A bus has n stops numbered from 0 to n - 1 that form a circle. We know the distance between all pairs of neighboring stops 阅读全文
posted @ 2023-05-18 20:23
iyiluo
阅读(15)
评论(0)
推荐(0)