Logo
MainBooksThoughtsAbout

Patterns

Elixir solutions

Basic Prefix Sum pattern for coding interview preparation

The Basic Prefix Sum pattern is the foundation of all Prefix Sum variations. Start with this pattern to understand how prefix sums work before learning more advanced Prefix Sum patterns for coding interviews.

Read more

Interval patterns: LeetCode & Coding interview guide

Get to know the main interval patterns used in LeetCode and coding interviews: Merge Intervals, Intersection, Scheduling, Sweep Line, and Coverage.

Read more

Fast & Slow Pointers vs Two Pointers vs Sliding Window

In this post I compare Fast & Slow Pointers, Two Pointers, and Sliding Window patterns: how each pattern works, how pointers move, their key differences, and how to recognize which approach to use in LeetCode problems and coding interviews.

Read more

Prefix Sum pattern: LeetCode problems and interview guide

The Prefix Sum pattern is one of the most useful array techniques for solving LeetCode problems involving subarray sums, range queries, cumulative values, and counting subarrays. This section covers common variations, recognition rules, and practical examples from LeetCode.

Read more

Linked list patterns for LeetCode and coding interviews

Essential linked list patterns for LeetCode and coding interviews, including traversal, search, and inserting nodes at the front and back

Read more
Page 1 of 2Next
☕Support AlgoBytes on Patreon

© 2026 Algobytes

Privaci Policy