BruteForce and BitDP