摘要:
题目: Evaluate the value of an arithmetic expression in Reverse Polish Notation. Valid operators are+,-,*,/. Each operand may be an integer or another e 阅读全文
摘要:
题目描述 Determine whether an integer is a palindrome. Do this without extra space. click to show spoilers. Some hints: Could negative integers be palindr 阅读全文
摘要:
(解二最优,我现在能写的最好的了) 题目: Say you have an array for which the i th element is the price of a given stock on day i. If you were only permitted to complete 阅读全文
摘要:
Say you have an array for which the i th element is the price of a given stock on day i. Design an algorithm to find the maximum profit. You may compl 阅读全文