Skip to content

Data Structures and Algorithms, Collection of LeetCode questions.

Notifications You must be signed in to change notification settings

hasferrr/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode

Collection of LeetCode questions to ace the coding interview! - Created using LeetHub

Other Resources (DSA):

Contents

Contains but not limited to:

Arrays

  • Static Arrays
  • Dynamic Arrays
  • Stacks

Arrays (More)

  • Kadane's Algorithm
  • Sliding Window Fixed
  • Sliding Window Variable
  • Two Pointers
  • Prefix Sums
  • Monotonic Stacks

Linked Lists

  • Singly Linked Lists
  • Doubly Linked Lists
  • Queues

Linked Lists (More)

  • Fast and Slow Pointers
  • Floyd's Tortoise and Hare Algorithm

Sorting

  • Insertion Sort
  • Selection Sort
  • Merge Sort
  • Quick Sort
  • Quick Select
  • Partitioning
  • Bucket Sort

Binary Search

  • Search Array
  • Search Range

Trees

  • Binary Tree
  • Binary Search Trees (BST)
  • BST Insert And Remove
  • Depth-First Search (DFS)
  • Breadth-First Search (BFS)

Trees (More)

  • Trie
  • Union Find (Disjoint Set)
  • Segment Tree
  • Iterative DFS

Backtracking

  • Backtracking Search
  • Generative Recursion

Backtracking (More)

  • Subsets
  • Combinations
  • Permutation

Heap Priority Queue

  • Heap Properties
  • Push And Pop
  • Heapify

Heaps (More)

  • Two Heaps

Hashing

  • HashMap
  • HashSet
  • Hash Implementation

Graphs

  • Adjacency Matrices
  • Matrix DFS
  • Matrix BFS
  • Adjacency List

Graphs (More)

  • Dijkstra's Algorithm
  • Prim's Algorithm
  • Kruskal's Algorithm
  • Topological Sort

Dynamic Programming

  • Brute Force
  • Memoization (Top-down)
  • Tabulation (Bottom-Up)
  • 1-Dimension DP
  • 2-Dimension DP

Dynamic Programming (More)

  • 0/1 Knapsack
  • Unbounded Knapsack
  • Longest Common Subsequence (LCS)
  • Longest Increasing Subsequence (LIS)
  • Longest Palindrome Subsequence (LPS)
  • Palindromes

Other

  • Bit Manipulation
  • Greedy Algorithms
  • Intervals

About

Data Structures and Algorithms, Collection of LeetCode questions.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published