1. Evaluate a polish notation based expression (operands precede operator) 2. Determine suffix (st or nd or th like 1st, 2nd, 23rd etc) for a given number.
Sigiloso
Use a stack for storing operators and when you encounter an operator, pop operators, evaluate and store back to stack. Return head of stack as result. 2nd one is a simple if else/switch based solution