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

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 Insert And Remove
  • Depth-First Search
  • Breadth-First Search
  • BST Sets And Maps

Trees (More)

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

Backtracking

  • Tree Maze
  • Generative Recursion

Backtracking (More)

  • Subsets
  • Combinations
  • Permutation

Heap Priority Queue

  • Heap Properties
  • Push And Pop
  • Heapify

Heaps (More)

  • Two Heaps

Hashing

  • Hash Usage
  • 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)
  • Palindromes

Bit Manipulation

  • Bit Operator

About

Data Structures and Algorithms, Collection of LeetCode questions

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published