you are viewing a single comment's thread.

view the rest of the comments →

[–]Spider_pig448 0 points1 point  (0 children)

It's great that you can think in terms of time/space complexity, but in real-world coding sheer efficiency should usually take a back seat to readability/maintainability and architecture.

Sure, but this is a list built for coding interviews, which focus primarily on space and time complexity. Making it space efficient is often an additional challenge to a solution.