3 ms·
Graphs don't really capture the entirety of hashmaps and other indexing concerns. Other than that yea I agree.
by ForTheKidz 2y ago
Graphs don't really capture the entirety of hashmaps and other indexing concerns. Other than that yea I agree.
- magicalhippo 2y agoGP was talking about modelling your problem. A hashmap is seldom a good model for a given problem. Typically they're "just" an implementation detail. For example, in some cases it can be useful to consider triangles in a 3D model as cyclic graphs of vertices. The edges of the triangle correspond to the edges in the graph. However I can't think of any case where it's useful to think of a triangle as a hashmap.