TikTok interview question

Build a calculator using string inputs.

Interview Answer

Anonymous

2 Mar 2026

Used python and loop to get the * and / first, then calculate from start to end.