TikTok Interview Question

Build a calculator using string inputs.

Interview Answer

Anonymous

Mar 2, 2026

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