close
Skip to content

Pneha1234/LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

406 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A collection of LeetCode questions to ace the coding interview!

LeetCode Topics

Array

0001-two-sum
0015-3sum
0018-4sum
0026-remove-duplicates-from-sorted-array
0027-remove-element
0031-next-permutation
0048-rotate-image
0053-maximum-subarray
0056-merge-intervals
0073-set-matrix-zeroes
0074-search-a-2d-matrix
0078-subsets
0088-merge-sorted-array
0118-pascals-triangle
0121-best-time-to-buy-and-sell-stock
0128-longest-consecutive-sequence
0130-surrounded-regions
0169-majority-element
0200-number-of-islands
0229-majority-element-ii
0268-missing-number
0287-find-the-duplicate-number
0542-01-matrix
0733-flood-fill
0948-sort-an-array
0994-rotting-oranges
1020-number-of-enclaves
1091-shortest-path-in-binary-matrix

Dynamic Programming

0022-generate-parentheses
0053-maximum-subarray
0062-unique-paths
0118-pascals-triangle
0121-best-time-to-buy-and-sell-stock
0542-01-matrix
1013-fibonacci-number

Hash Table

0001-two-sum
0013-roman-to-integer
0073-set-matrix-zeroes
0128-longest-consecutive-sequence
0146-lru-cache
0169-majority-element
0229-majority-element-ii
0268-missing-number

Matrix

0048-rotate-image
0073-set-matrix-zeroes
0074-search-a-2d-matrix
0130-surrounded-regions
0200-number-of-islands
0542-01-matrix
0733-flood-fill
0994-rotting-oranges
1020-number-of-enclaves
1091-shortest-path-in-binary-matrix

Two Pointers

0015-3sum
0018-4sum
0026-remove-duplicates-from-sorted-array
0027-remove-element
0028-find-the-index-of-the-first-occurrence-in-a-string
0031-next-permutation
0088-merge-sorted-array
0125-valid-palindrome
0287-find-the-duplicate-number

Divide and Conquer

0053-maximum-subarray
0169-majority-element
0948-sort-an-array

Math

0009-palindrome-number
0013-roman-to-integer
0048-rotate-image
0050-powx-n
0062-unique-paths
0172-factorial-trailing-zeroes
0268-missing-number
1013-fibonacci-number
2050-count-good-numbers

Sorting

0015-3sum
0018-4sum
0056-merge-intervals
0088-merge-sorted-array
0169-majority-element
0229-majority-element-ii
0268-missing-number
0948-sort-an-array

Binary Search

0074-search-a-2d-matrix
0268-missing-number
0287-find-the-duplicate-number

Bit Manipulation

0078-subsets
0268-missing-number
0287-find-the-duplicate-number
3211-generate-binary-strings-without-adjacent-zeros

Heap (Priority Queue)

0948-sort-an-array

Merge Sort

0948-sort-an-array

Bucket Sort

0948-sort-an-array

Radix Sort

0948-sort-an-array

Counting Sort

0169-majority-element
0229-majority-element-ii
0948-sort-an-array

Recursion

0021-merge-two-sorted-lists
0050-powx-n
1013-fibonacci-number
2050-count-good-numbers

Combinatorics

0062-unique-paths

Union Find

0128-longest-consecutive-sequence
0130-surrounded-regions
0200-number-of-islands
0547-number-of-provinces
0785-is-graph-bipartite
1020-number-of-enclaves

String

0008-string-to-integer-atoi
0013-roman-to-integer
0014-longest-common-prefix
0020-valid-parentheses
0022-generate-parentheses
0028-find-the-index-of-the-first-occurrence-in-a-string
0125-valid-palindrome
3211-generate-binary-strings-without-adjacent-zeros

Trie

0014-longest-common-prefix

Stack

0020-valid-parentheses

Linked List

0021-merge-two-sorted-lists
0146-lru-cache

String Matching

0028-find-the-index-of-the-first-occurrence-in-a-string

Memoization

1013-fibonacci-number

Backtracking

0022-generate-parentheses
0078-subsets
3211-generate-binary-strings-without-adjacent-zeros

Breadth-First Search

0130-surrounded-regions
0200-number-of-islands
0207-course-schedule
0210-course-schedule-ii
0542-01-matrix
0547-number-of-provinces
0733-flood-fill
0785-is-graph-bipartite
0802-find-eventual-safe-states
0994-rotting-oranges
1020-number-of-enclaves
1091-shortest-path-in-binary-matrix

Design

0146-lru-cache

Doubly-Linked List

0146-lru-cache

Depth-First Search

0130-surrounded-regions
0200-number-of-islands
0207-course-schedule
0210-course-schedule-ii
0547-number-of-provinces
0733-flood-fill
0785-is-graph-bipartite
0802-find-eventual-safe-states
1020-number-of-enclaves

Graph

0547-number-of-provinces
0785-is-graph-bipartite

Graph Theory

0207-course-schedule
0210-course-schedule-ii
0802-find-eventual-safe-states

Topological Sort

0207-course-schedule
0210-course-schedule-ii
0802-find-eventual-safe-states

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages