Skip to content

espython/ds-algo-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

0014-longest-common-prefix
0015-3sum
0053-maximum-subarray
0055-jump-game
0080-remove-duplicates-from-sorted-array-ii
0121-best-time-to-buy-and-sell-stock
0153-find-minimum-in-rotated-sorted-array
0167-two-sum-ii-input-array-is-sorted
0169-majority-element
0189-rotate-array
0200-number-of-islands
0215-kth-largest-element-in-an-array
0217-contains-duplicate
0238-product-of-array-except-self
0271-encode-and-decode-strings
0287-find-the-duplicate-number
0303-range-sum-query-immutable
0347-top-k-frequent-elements
0442-find-all-duplicates-in-an-array
0525-contiguous-array
0605-can-place-flowers
1528-kids-with-the-greatest-number-of-candies

Design

0271-encode-and-decode-strings
0303-range-sum-query-immutable

Prefix Sum

0238-product-of-array-except-self
0303-range-sum-query-immutable
0525-contiguous-array

Hash Table

0003-longest-substring-without-repeating-characters
0013-roman-to-integer
0169-majority-element
0202-happy-number
0217-contains-duplicate
0347-top-k-frequent-elements
0442-find-all-duplicates-in-an-array
0525-contiguous-array

Two Pointers

0005-longest-palindromic-substring
0015-3sum
0080-remove-duplicates-from-sorted-array-ii
0125-valid-palindrome
0167-two-sum-ii-input-array-is-sorted
0189-rotate-array
0202-happy-number
0287-find-the-duplicate-number
0344-reverse-string
0408-valid-word-abbreviation
0541-reverse-string-ii
0680-valid-palindrome-ii
1894-merge-strings-alternately

Divide and Conquer

0053-maximum-subarray
0169-majority-element
0215-kth-largest-element-in-an-array
0347-top-k-frequent-elements

Sorting

0015-3sum
0169-majority-element
0215-kth-largest-element-in-an-array
0217-contains-duplicate
0347-top-k-frequent-elements

Counting

0169-majority-element
0347-top-k-frequent-elements

Heap (Priority Queue)

0215-kth-largest-element-in-an-array
0347-top-k-frequent-elements

Bucket Sort

0347-top-k-frequent-elements

Quickselect

0215-kth-largest-element-in-an-array
0347-top-k-frequent-elements

Math

0009-palindrome-number
0013-roman-to-integer
0189-rotate-array
0202-happy-number
1146-greatest-common-divisor-of-strings

Dynamic Programming

0005-longest-palindromic-substring
0022-generate-parentheses
0053-maximum-subarray
0055-jump-game
0121-best-time-to-buy-and-sell-stock

String

0003-longest-substring-without-repeating-characters
0005-longest-palindromic-substring
0013-roman-to-integer
0014-longest-common-prefix
0020-valid-parentheses
0022-generate-parentheses
0125-valid-palindrome
0271-encode-and-decode-strings
0344-reverse-string
0408-valid-word-abbreviation
0541-reverse-string-ii
0680-valid-palindrome-ii
1146-greatest-common-divisor-of-strings
1894-merge-strings-alternately

Binary Search

0153-find-minimum-in-rotated-sorted-array
0167-two-sum-ii-input-array-is-sorted
0287-find-the-duplicate-number

Sliding Window

0003-longest-substring-without-repeating-characters

Backtracking

0022-generate-parentheses

Greedy

0055-jump-game
0605-can-place-flowers
0680-valid-palindrome-ii

Stack

0020-valid-parentheses

Tree

0226-invert-binary-tree
0543-diameter-of-binary-tree

Depth-First Search

0200-number-of-islands
0226-invert-binary-tree
0543-diameter-of-binary-tree

Breadth-First Search

0200-number-of-islands
0226-invert-binary-tree

Binary Tree

0226-invert-binary-tree
0543-diameter-of-binary-tree

Linked List

0206-reverse-linked-list

Recursion

0206-reverse-linked-list

Bit Manipulation

0287-find-the-duplicate-number

Union Find

0200-number-of-islands

Matrix

0200-number-of-islands

Trie

0014-longest-common-prefix

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published