摘要:
Write a function that takes a string as input and returns the string reversed. Example:Given s = "hello", return "olleh"。 思路:比较容易从代码看明白。注意下StringBuffe 阅读全文
摘要:
Given a positive integer n, break it into the sum of at least two positive integers and maximize the product of those integers. Return the maximum pro 阅读全文
摘要:
Given a m x n matrix, if an element is 0, set its entire row and column to 0. Do it in place. click to show follow up. Follow up: Did you use extra sp 阅读全文