Combines bit manipulation with dynamic programming. The DP recurrence uses bit properties to build on previous results.
Enable JavaScript for the full StreamPrep guide.