patternlens©
01Home02Patterns03Questions04Cheatsheet05Notes06Roadmaps07Dashboard

© 2026 PatternLens

patternlens©
Explore
HomePatternsQuestionsCheatsheetNotes
patternlens©
01Home02Patterns03Questions04Cheatsheet05Notes06Roadmaps07Dashboard

© 2026 PatternLens

patternlens©
Explore
HomePatternsQuestionsCheatsheetNotes

01 — one page

one page.
every template.

The ultimate quick-reference board. 11 core DSA chapters boiled down to syntax-highlighted code templates, time complexities, and key structures. Print it, pin it, or keep it open during practice.

Chapters: 11 coreLanguage: JS/TS / Python
binary_search
1
3
5
7
9
11
13
log(N) division
Binary Searchvisual template
sliding_window
val
val
val
val
val
val
val
LR
contiguous window [L, R]
Sliding Windowvisual template
two_pointers
val
val
val
val
val
val
val
L
R
pointer convergence L → ← R
Two Pointersvisual template

01

Arrays + Hashing

O(1) lookups & frequencies

02

Two Pointers

Sorted arrays & nodes

03

Sliding Window

Contiguous subarrays

04

Binary Search

Logarithmic target searches

05

Stack / Monotonic Stack

Nested parsing & order

06

Linked List

Pointer manipulations

07

Trees

Hierarchical DFS/BFS paths

08

Heap

Dynamic min/max & streaming

09

Graphs

Networks & connectivity

010

Backtracking

Recursive searches & states

011

DP

Memoized state transitions

patternlens.

See the patterns. Master the algorithms. Ace the interviews.

Visual DSA pattern library built to turn complex algorithms into clear, intuitive structures.

Learn

  • Patterns
  • Questions
  • Notes
  • Cheatsheet

Build

  • Roadmaps
  • Notes

© 2026 PatternLens. All rights reserved.

Designed & built with care

FAQsPrivacy PolicyCookies Policy