1. Implement a Calculator II
In the coding interview, you are asked to implement a Calculator II. The task is to create a function that can process a string containing integers and the operators '+', '-', '*', and '/' and return the correct calculation result. The input will be a string such as '3+2*2' or ' 3/2 ', and the output should be the result of the calculation.