News for hackers. Stuff that matters.
Re:How has algorithms and data structures helped you? by JackSlateur on Friday December 01, 2023 @05:40PM (#38493543)
Those are tools

For instance, sometimes I work with IP addresses, like "I have to grab the entry that matches this IP the most"

When you know the existence of radix trees, the problem is easy to solve : use a lib, create a tree, populate it, and then do some lookups

When you don't, you write an aweful foreach and crazy algorithm to compare entries

There are no comments on this comment yet.