An Interest In:
Web News this Week
- April 18, 2024
- April 17, 2024
- April 16, 2024
- April 15, 2024
- April 14, 2024
- April 13, 2024
- April 12, 2024
September 11, 2022 03:39 am GMT
Original Link: https://dev.to/gilfoyle/the-most-important-leetcode-patterns-1f7b
The Most Important Leetcode Patterns
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.
Original Link: https://dev.to/gilfoyle/the-most-important-leetcode-patterns-1f7b
Share this article:
Tweet
View Full Article
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To