This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Gilfoyle
If you have been looking for a job in tech, I am pretty sure you have heard of Leetcode, it's a website that helps you learn and practice Data Structures and Algorithms to pass the coding interview. so without farther due let's talk about the most important patterns to solve any Leetcode style questions.
- Sliding Window
- Two Pointers
- Fast & Slow pointers (LinkedList)
- Tree Breadth First Search aka BFS
- Tree Depth First Search aka DFS
- Hashing (using HashTable or Map)
- Dynamic Programming
Please consider following me on Twitter for more content like this.
This content originally appeared on DEV Community 👩‍💻👨‍💻 and was authored by Gilfoyle
Gilfoyle | Sciencx (2022-09-11T03:39:10+00:00) The Most Important Leetcode Patterns. Retrieved from https://www.scien.cx/2022/09/11/the-most-important-leetcode-patterns/
Please log in to upload a file.
There are no updates yet.
Click the Upload button above to add an update.