摘要:
Given an integer array of size n, find all elements that appear more than ⌊ n/3 ⌋ times. Note: The algorithm should run in linear time and in O(1) spa 阅读全文
posted @ 2020-06-21 09:36
Schwifty
阅读(146)
评论(0)
推荐(0)
摘要:
Given a string s, you are allowed to convert it to a palindrome by adding characters in front of it. Find and return the shortest palindrome you can f 阅读全文
posted @ 2020-06-21 09:07
Schwifty
阅读(181)
评论(0)
推荐(0)
摘要:
Given two integers representing the numerator and denominator of a fraction, return the fraction in string format. If the fractional part is repeating 阅读全文
posted @ 2020-06-21 08:11
Schwifty
阅读(164)
评论(0)
推荐(0)

浙公网安备 33010602011771号