@@ -0,0 +1,1249 @@
+public class EvaluateReversePolishNotation %7B%0A  public int evalRPN(String%5B%5D tokens) %7B%0A    int result = 0;%0A    %0A    // Go along the input string,%0A    // push operand into stack%0A    String operatorsCharacters = %22+-*/%22;%0A    Stack%3CString%3E stack = new Stack%3CString%3E();%0A    int tokenCount = tokens.length;%0A    for (int i = 0; i %3C tokenCount; i++) %7B%0A      String token = tokens%5Bi%5D;%0A      // current token is an operator%0A      if (operatorsCharacters.contains(token)) %7B%0A        int operandRight = Integer.valueOf(stack.pop());%0A        int operandLeft = Integer.valueOf(stack.pop());%0A        int operationResult = 0;%0A        // do operation%0A        if (token.equals(%22+%22)) %7B%0A          operationResult = operandLeft + operandRight;%0A        %7D else if (token.equals(%22-%22)) %7B%0A          operationResult = operandLeft - operandRight;%0A        %7D else if (token.equals(%22*%22)) %7B%0A          operationResult = operandLeft * operandRight;%0A        %7D else if (token.equals(%22/%22)) %7B%0A          operationResult = operandLeft / operandRight;%0A        %7D else %7B%0A        %7D%0A        stack.push(String.valueOf(operationResult));%0A      %7D else %7B // current token is an operand%0A        stack.push(token);%0A      %7D%0A    %7D %0A    %0A    result = Integer.valueOf(stack.pop());%0A    return result;%0A  %7D%0A%7D%0A

Create EvaluateReversePolishNotation.java