You'll work through all patterns with problems in days. Spend - hours daily on problems in a specific order that builds your skills progressively. Each pattern builds on previous ones.
The plan frontloads easier patterns (arrays, hash maps, two pointers) before harder ones (DP, graphs, advanced data structures). Stick to the order. Skipping ahead to hard problems without foundation leads to frustration. If you're preparing for a specific company, check which patterns they focus on.