摘要:
Problem:Evaluate the value of an arithmetic expression inReverse Polish Notation.Valid operators are+,-,*,/. Each operand may be an integer or another... 阅读全文
摘要:
Problem:Given two integers representing the numerator and denominator of a fraction, return the fraction in string format.If the fractional part is re... 阅读全文
摘要:
Problem:Given an absolute path for a file (Unix-style), simplify it.For example,path="/home/", =>"/home"path="/a/./b/../../c/", =>"/c"Analysis:This pr... 阅读全文
摘要:
Problem:Given two numbers represented as strings, return multiplication of the numbers as a string.Note: The numbers can be arbitrarily large and are ... 阅读全文