TikTok Interview Question

Implement a basic calculator (leetcode 227)