Skip to content

Gnanendra777/Leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A collection of LeetCode questions to ace the coding interview! - Created using LeetHub v2

LeetCode Topics

Array

0001-two-sum
0011-container-with-most-water
0014-longest-common-prefix
0026-remove-duplicates-from-sorted-array
0027-remove-element
0053-maximum-subarray
0054-spiral-matrix
0073-set-matrix-zeroes
0074-search-a-2d-matrix
0075-sort-colors
0121-best-time-to-buy-and-sell-stock
0136-single-number
0169-majority-element
0189-rotate-array
0209-minimum-size-subarray-sum
0217-contains-duplicate
0268-missing-number
0283-move-zeroes
0485-max-consecutive-ones
0566-reshape-the-matrix
0643-maximum-average-subarray-i
0861-flipping-an-image
0898-transpose-matrix
1378-cells-with-odd-values-in-a-matrix
1476-count-negative-numbers-in-a-sorted-matrix
1677-matrix-diagonal-sum
1878-check-if-array-is-sorted-and-rotated
1951-find-the-winner-of-the-circular-game

Hash Table

0001-two-sum
0073-set-matrix-zeroes
0141-linked-list-cycle
0142-linked-list-cycle-ii
0160-intersection-of-two-linked-lists
0169-majority-element
0217-contains-duplicate
0268-missing-number

Dynamic Programming

0053-maximum-subarray
0070-climbing-stairs
0121-best-time-to-buy-and-sell-stock

Divide and Conquer

0053-maximum-subarray
0169-majority-element

Sliding Window

0209-minimum-size-subarray-sum
0643-maximum-average-subarray-i

Binary Search

0074-search-a-2d-matrix
0209-minimum-size-subarray-sum
0268-missing-number
0367-valid-perfect-square
1476-count-negative-numbers-in-a-sorted-matrix

Prefix Sum

0209-minimum-size-subarray-sum

String

0014-longest-common-prefix
3379-score-of-a-string

Math

0070-climbing-stairs
0189-rotate-array
0231-power-of-two
0268-missing-number
0326-power-of-three
0342-power-of-four
0367-valid-perfect-square
1378-cells-with-odd-values-in-a-matrix
1951-find-the-winner-of-the-circular-game

Recursion

0021-merge-two-sorted-lists
0024-swap-nodes-in-pairs
0206-reverse-linked-list
0231-power-of-two
0326-power-of-three
0342-power-of-four
1951-find-the-winner-of-the-circular-game

Bit Manipulation

0136-single-number
0231-power-of-two
0268-missing-number
0342-power-of-four
0861-flipping-an-image

Memoization

0070-climbing-stairs

Matrix

0054-spiral-matrix
0073-set-matrix-zeroes
0074-search-a-2d-matrix
0566-reshape-the-matrix
0861-flipping-an-image
0898-transpose-matrix
1476-count-negative-numbers-in-a-sorted-matrix
1677-matrix-diagonal-sum

Simulation

0054-spiral-matrix
0566-reshape-the-matrix
0861-flipping-an-image
0898-transpose-matrix
1378-cells-with-odd-values-in-a-matrix
1951-find-the-winner-of-the-circular-game

Two Pointers

0011-container-with-most-water
0019-remove-nth-node-from-end-of-list
0026-remove-duplicates-from-sorted-array
0027-remove-element
0075-sort-colors
0141-linked-list-cycle
0142-linked-list-cycle-ii
0160-intersection-of-two-linked-lists
0189-rotate-array
0283-move-zeroes
0861-flipping-an-image

Linked List

0019-remove-nth-node-from-end-of-list
0021-merge-two-sorted-lists
0024-swap-nodes-in-pairs
0083-remove-duplicates-from-sorted-list
0141-linked-list-cycle
0142-linked-list-cycle-ii
0160-intersection-of-two-linked-lists
0206-reverse-linked-list

Queue

1951-find-the-winner-of-the-circular-game

Tree

0094-binary-tree-inorder-traversal
0104-maximum-depth-of-binary-tree
0235-lowest-common-ancestor-of-a-binary-search-tree

Depth-First Search

0094-binary-tree-inorder-traversal
0104-maximum-depth-of-binary-tree
0235-lowest-common-ancestor-of-a-binary-search-tree

Binary Search Tree

0235-lowest-common-ancestor-of-a-binary-search-tree

Binary Tree

0094-binary-tree-inorder-traversal
0104-maximum-depth-of-binary-tree
0235-lowest-common-ancestor-of-a-binary-search-tree

Stack

0094-binary-tree-inorder-traversal

Breadth-First Search

0104-maximum-depth-of-binary-tree

Trie

0014-longest-common-prefix

Sorting

0075-sort-colors
0169-majority-element
0217-contains-duplicate
0268-missing-number

Greedy

0011-container-with-most-water

Counting

0169-majority-element

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published