摘要:
题目:Say you have an array for which the ith element is the price of a given stock on day i.Design a... 阅读全文
摘要:
题目:Implement atoi to convert a string to an integer.思路:一路走下去注意最大值最小值代码:class Solution {public://ht... 阅读全文
摘要:
题目:There are N gas stations along a circular route, where the amount of gas at station i is gas[i]... 阅读全文
摘要:
题目:Now, instead outputting board configurations, return the total number of distinct solutions.思路:... 阅读全文