Altium Limited Interview Question

C# live coding task to check algorithmic skills.