Meet in the Middle
Split a search into two halves of size $n/2$, enumerate each, then combine — $O(2^{n/2})$ instead of $O(2^n)$.
Advanced
Subset-sum for .
Spotted a mistake or want to add detail? Suggest an improvement — Content Contributors' edits are reviewed by editors before they go live.
Discussion (0)
Sign in or join free to ask questions and discuss this topic.