Hash Set
Everything on SkillVeris tagged Hash Set — collected across the glossary, study notes, blog, and cheat sheets.
6 resources across 2 libraries
Study Notes(2)
Interview Questions(4)
What is a Trie?
A trie, or prefix tree, is a tree-based data structure that stores strings character by character along shared paths, letting you search, insert, and check pre…
Word Ladder Problem: How Would You Solve It?
Word ladder is solved with BFS over an implicit graph where each word is a node and an edge connects two words differing by exactly one letter, because BFS exp…
Word Break Problem: How Do You Solve It?
The word break problem — deciding whether a string can be segmented into a sequence of words from a given dictionary — is solved with dynamic programming where…
The hashCode() and equals() Contract
The hashCode()/equals() contract requires that whenever two objects are equal according to equals(), they must return the identical hashCode(), so that hash-ba…