Stock problems โ€” Dynamic Programming (DP) Patterns | DSA Interview Guide