Drill the mechanics behind the algorithms.
You can explain DP — but can you type the table? Small judged exercises to drill the mechanics — in C++ or Python — for the constructions every solution starts with: 2D vectors, adjacency lists, DSU, Fenwick trees.
Start drilling