Skip to content

Instantly share code, notes, and snippets.

@Ab-hinav
Last active March 16, 2023 03:51
Show Gist options
  • Save Ab-hinav/27209c02f55f82ddd66bf9d7fe30b4dc to your computer and use it in GitHub Desktop.
Save Ab-hinav/27209c02f55f82ddd66bf9d7fe30b4dc to your computer and use it in GitHub Desktop.
Coding Patterns

Pattern - DP

Sub Pattern - Infinite Coin change/ Infinite knapsack

Pattern - DP

Sub Pattern - LIS

Pattern - DP

Sub Pattern - Simple 1D

Sub Pattern - 1D with another D

Pattern - BFS

Pattern - DFS

Sub Pattern - Backtrack

Pattern - Simulation

Pattern - Monotonic Stack

Pattern - Misc [Bsearch +maps]

Pattern - Design

SubPattern - [Hashmap + array]

Normal

Pattern - Sorting/Counting

Pattern - Sorting/HashMap

Pattern - Tree's

Pattern - Greedy

Pattern - Graph+tree

Pattern - Bearch

Pattern - Sorting/Heap

Pattern - Sliding Window/ Non shrinking

Pattern - 2 pointers

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment