DraftKings Interview Question

What's the complexity of the function I just wrote.

Interview Answer

Anonymous

Dec 13, 2015

Depends on the # of items in the list since C# uses different algorithms based on the length, but "n log n" for large lists.