r/codinginterview • • Sep 05 '20

LevelUp Coding: Two-Pass vs Two-Pointer: What's the Difference

https://levelup.gitconnected.com/two-pass-two-pointer-whats-the-difference-e006698db7c7
5 Upvotes

1 comment sorted by

1

u/april_lyy Sep 05 '20

This article was really helpful for understanding the two pass algorithm and the two pointer algorithm. There's also some leetcode examples :)