Developers Verge | Get the Latest Updates in Dev Community
  • Home
  • About
  • Careers
Subscribe
Tagged

LeetCode Design Patterns

Different Design patterns that are used for solving leetcode problems. We will look at all these design patterns and related problems that can be solved with the design patterns.

Fast and Slow Pointer Design Pattern
LeetCode Design Patterns

Fast and Slow Pointer Design Pattern

The fast and slow pointer design pattern is another popular design pattern that is used for solving problems related to cyclic linked lists or to determine if there is an indefinite loop. The design pattern is also popularly called as hare and tortoise design pattern. In fast and slow pointer

  • Amit Gyawali
Amit Gyawali Jan 13, 2022 • 1 min read
What is Sliding Window Design Pattern algorithm?
LeetCode Design Patterns

What is Sliding Window Design Pattern algorithm?

If you are doing leetcode then you have definitely encountered problems related to array and subarray. You might have used some nested loops to solve this kind of problem. But what if you saw the same problem during your interview and your interviewer asked to solve it using one iteration.

  • Amit Gyawali
Amit Gyawali Jan 10, 2022 • 2 min read
Developers Verge | Get the Latest Updates in Dev Community © 2022
  • Data & privacy
  • Contact
  • Contribute →