News for hackers. Stuff that matters.
Re:LINQ Ruined My Favorite Interview Question by jessedhillon on Thursday July 11, 2013 @01:22PM (#6027482)
This is a great approach. Even better because you carefully examined the requirements and found an interpretation which allowed you to make an optimization (words only, not counts, therefore sets are useful)
Re:LINQ Ruined My Favorite Interview Question by jules on Thursday July 11, 2013 @09:07PM (#6030276)
This isn't an optimization. He turned a O(n) algorithm into a O(n^2) one.