5 ms·
That still only speaks to it being simple enough for students, not whether its too simple for any other use vs. useful enough that students who learn it will sp
by swores 2y ago
That still only speaks to it being simple enough for students, not whether its too simple for any other use vs. useful enough that students who learn it will spend the rest of their lives using it.
For example word processor software is commonly described as simple enough for children to use at school, that doesn't mean that word processor software is of no use to adults.
- deleted 2y ago[deleted]
- adgjlsfhk1 2y agothe reason it's too simple for most real world use is that hyper-log-log is the "good" version of this technique (but is harder to prove that it works)
- aidenn0 2y agoSimplicity in an algorithm has limited direct impact on its usefulness in industry where libraries are prevalent. Consider mapping structures with Θ(k) expected lookup times. The simplest implementation is a hash table with chaining. Open-addressing is a bit more complicated, but also more common. Tries, which have O(k) worst-case lookup times are often covered in Undergraduate courses and are definitely easier to analyze and implement than forms of open-addressed hash-tables that have O(k) guarantees (e.g. Cuckoo hashing).