I was recently asked this question in a karat interview for Roblox. The expectation was to cover both these questions in 1 hr. https://leetcode.com/problems/basic-calculator-ii/ https://leetcode.com/problems/basic-calculator/