Ideas, facts & insights covering these topics:
3 ideas
·1.18K reads
11
Explore the World's Best Ideas
Join today and uncover 100+ curated journeys from 50+ topics. Unlock access to our mobile app with extensive features.
In a slightly simplified explanation, hash tables are just arrays that with the keys mapped to the indexes. A key is transformed in an index through a hash function.
A good hash function must be:
In case the hash function still causes collisions (e.g. for memory reasons), it could be changed so that an entry in the array no longer contains a single value, but a new data structure (such as a linked list or even a new hash table).
45
456 reads
Breadth-first search is used to find the shortest path in an unweighted graph.
Dijkstra’s Algorithm is used to find the shortest path in a directed, acyclic graph (DAG).
The topological sort of a directed graph is the set of nodes ordered such that if u->v is an edge, then u comes before v in the sorting.
49
353 reads
There’s no easy way to tell if a problem is NP-complete. Here are some giveaways:
45
374 reads
IDEAS CURATED BY
CURATOR'S NOTE
The book covers algorithms at a basic level. I knew most of the stuff, so here are only so brief notes I took.
“
Discover Key Ideas from Books on Similar Topics
9 ideas
The Programmer's Brain
Felienne Hermans
20 ideas
Clean Code
Robert C. Martin
10 ideas
The Self Care Prescription
Robyn Gobin
Read & Learn
20x Faster
without
deepstash
with
deepstash
with
deepstash
Personalized microlearning
—
100+ Learning Journeys
—
Access to 200,000+ ideas
—
Access to the mobile app
—
Unlimited idea saving
—
—
Unlimited history
—
—
Unlimited listening to ideas
—
—
Downloading & offline access
—
—
Supercharge your mind with one idea per day
Enter your email and spend 1 minute every day to learn something new.
I agree to receive email updates