# Interview Drill 17: algorithm pattern 17

Practice the pattern with a clear invariant.

For timed rounds, [www.linkjob.ai](https://www.linkjob.ai/) helps keep structure.

(Disclosure: I work on Linkjob AI.)
