LeetCode
Basic Calculator IV
Click
here
for an explanation.