摘要:
Find the Town Judge In a town, there are n people labeled from 1 to n. There is a rumor that one of these people is secretly the town judge. If the to 阅读全文
posted @ 2023-02-27 21:21
iyiluo
阅读(23)
评论(0)
推荐(0)
摘要:
Unique Morse Code Words International Morse Code defines a standard encoding where each letter is mapped to a series of dots and dashes, as follows: ' 阅读全文
posted @ 2023-02-27 21:21
iyiluo
阅读(15)
评论(0)
推荐(0)
摘要:
Maximum Number of Balloons Given a string text, you want to use the characters of text to form as many instances of the word "balloon" as possible. Yo 阅读全文
posted @ 2023-02-27 21:21
iyiluo
阅读(15)
评论(0)
推荐(0)
摘要:
Split a String in Balanced Strings Balanced strings are those that have an equal quantity of 'L' and 'R' characters. Given a balanced string s, split 阅读全文
posted @ 2023-02-27 21:20
iyiluo
阅读(22)
评论(0)
推荐(0)
摘要:
Reformat Data Given a date string in the form Day Month Year, where: Day is in the set {"1st", "2nd", "3rd", "4th", ..., "30th", "31st"}. Month is in 阅读全文
posted @ 2023-02-27 21:20
iyiluo
阅读(18)
评论(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-02-27 21:19
iyiluo
阅读(24)
评论(0)
推荐(0)
摘要:
Kth Missing Positive Number Given an array arr of positive integers sorted in a strictly increasing order, and an integer k. Return the kth positive i 阅读全文
posted @ 2023-02-27 21:19
iyiluo
阅读(14)
评论(0)
推荐(0)
摘要:
Defanging an IP Address Given a valid (IPv4) IP address, return a defanged version of that IP address. A defanged IP address replaces every period "." 阅读全文
posted @ 2023-02-27 21:18
iyiluo
阅读(11)
评论(0)
推荐(0)
摘要:
Verifying an Alien Dictionary In an alien language, surprisingly, they also use English lowercase letters, but possibly in a different order. The orde 阅读全文
posted @ 2023-02-27 21:18
iyiluo
阅读(14)
评论(0)
推荐(0)