Pregunta de entrevista de DraftKings

I did use c# Question:Validate a lineup. Basic code puzzle. Straight implementation was nested for, I got linear runtime execution by usage of dictionaries. Then constant time inside for, assignments and key set during the single interaction. Access in constant time in dictionary to check distinct on key values. Basic usage of linq to make sum, groupBy and distinct. Generic very high level questions on UT, like "do you think make sense to use them and when! " Really you cannot interview a senior and poorly ask like that. There was a question on the complexity of a linq command execution, not sure the point of that, it depends if operation runs in memory or server side. The time to generate the sql command and execute it its another story. The volume of the data to deal with another story.