DoorDash interview question

implement a calculator - same question from leetcode