The Most Important Leetcode Patterns

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.

  1. Sliding Window
  2. Two Pointers
  3. Fast & Slow pointers (LinkedList)
  4. Tree Breadth First Search aka BFS
  5. Tree Depth First Search aka DFS
  6. Hashing (using HashTable or Map)
  7. Dynamic Programming

Please consider following me on Twitter for more content like this.

Total
0
Shares
Leave a Reply

Your email address will not be published. Required fields are marked *

Previous Post
key-values-relations-in-nosql

Key Values Relations in NoSQL

Next Post
product-differentiation-in-saas:-how-to-make-a-difference-as-a-product-manager

Product Differentiation in SaaS: How to Make a Difference as a Product Manager

Related Posts
𝐄𝐟𝐟𝐢𝐜𝐢𝐞𝐧𝐭𝐥𝐲-𝐌𝐚𝐧𝐚𝐠𝐢𝐧𝐠-𝐃𝐛𝐂𝐨𝐧𝐭𝐞𝐱𝐭-𝐋𝐢𝐟𝐞𝐭𝐢𝐦𝐞-𝐢𝐧-𝐄𝐅-𝐂𝐨𝐫𝐞

𝐄𝐟𝐟𝐢𝐜𝐢𝐞𝐧𝐭𝐥𝐲 𝐌𝐚𝐧𝐚𝐠𝐢𝐧𝐠 𝐃𝐛𝐂𝐨𝐧𝐭𝐞𝐱𝐭 𝐋𝐢𝐟𝐞𝐭𝐢𝐦𝐞 𝐢𝐧 𝐄𝐅 𝐂𝐨𝐫𝐞

In Entity Framework (EF) Core, managing the 𝗗𝗯𝗖𝗼𝗻𝘁𝗲𝘅𝘁 lifetime is crucial for 𝗮𝗽𝗽𝗹𝗶𝗰𝗮𝘁𝗶𝗼𝗻 𝗽𝗲𝗿𝗳𝗼𝗿𝗺𝗮𝗻𝗰𝗲 and 𝗱𝗮𝘁𝗮 𝗶𝗻𝘁𝗲𝗴𝗿𝗶𝘁𝘆. Mismanagement…
Read More