Groups
Category
Binary search quickly finds targets or boundaries in sorted or monotonic data by halving the search interval each step.
AhoโCorasick (AC) turns a set of forbidden patterns into a finite automaton that lets you process or generate strings while tracking whether any pattern appears.