摘要:
Find Target Indices After Sorting Array You are given a 0-indexed integer array nums and a target element target. A target index is an index i such th 阅读全文
posted @ 2022-11-09 18:44
iyiluo
阅读(28)
评论(0)
推荐(0)
摘要:
Thousand Separator Given an integer n, add a dot (".") as the thousands separator and return it in string format. Example 1: Input: n = 987 Output: "9 阅读全文
posted @ 2022-11-09 18:43
iyiluo
阅读(17)
评论(0)
推荐(0)
摘要:
Increasing Decreasing String You are given a string s. Reorder the string using the following algorithm: Pick the smallest character from s and append 阅读全文
posted @ 2022-11-09 18:43
iyiluo
阅读(18)
评论(0)
推荐(0)
摘要:
Binary Number with Alternating Bits Given a positive integer, check whether it has alternating bits: namely, if two adjacent bits will always have dif 阅读全文
posted @ 2022-11-09 18:43
iyiluo
阅读(21)
评论(0)
推荐(0)