Tech
LLD Data Structures in Design Context: Why Some Problems Need the "Best" Result Instead of Any Result
"Finding something quickly and finding the best thing quickly are two completely different engineering problems."
So far in this series, we've explored one of the most common behaviours in software systems:
Fast lookup.
Whenever a system already knows what it's looking for—a User ID, Product ID, Order ID or Session ID—a HashMap becomes an excellent choice.
But not every software problem works this way.
Imagine you're building a ride-sharing application.
A rider requests a...
Read the full discussion on Dev.to
This article was aggregated from Dev.to. Click to join the conversation.
View on Dev.to