**Problem Statement:**
Given the required input arguments, write an efficient algorithm to solve the **Basic Calculator II** problem. Implement the required logic as specified by standard definitions for this classic algorithmic challenge.
**Hint / Expected Approach:**
Sign-aware stack with +/−/× /÷ precedence
**Edge Cases to Consider:**
- (1) Expression with only one number
- (2) Division truncating to zero
- (3) Leading/trailing spaces