Snap interview question

mathematical operations in string form