NORRIQ interview question

Technical interview - .NET algorithm