Mindo Interview Question

logic test for live coding