Hacker News new | ask | show | jobs
by brudgers 1552 days ago
your code is correct and it does what we asked, but the way we write code is different

My take is that your code doesn't account for time, space, or IO. It will solve trivial examples, but doesn't consider what needs to happen when the data gets to an interesting size.

There's the Kaggle trap where the problems can be solved at the formal level with advanced Fizzbuzz. But the engineering issues are when the data is too big to fit in memory.

This is also how I take the the second example.

Good luck.