摘要:
Integer Break Integer Break Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those inte 阅读全文
摘要:
Reverse String Reverse String Write a function that takes a string as input and returns the string reversed. Example:Given s = "hello", return "olleh" 阅读全文
摘要:
op K Frequent Elements op K Frequent Elements Given a non-empty array of integers, return the k most frequent elements. For example,Given [1,1,1,2,2,3 阅读全文
摘要:
Flatten Nested List Iterator Flatten Nested List Iterator Given a nested list of integers, implement an iterator to flatten it. Each element is either 阅读全文
摘要:
Reverse Vowels of a String Reverse Vowels of a String Write a function that takes a string as input and reverse only the vowels of a string. Example 1 阅读全文