Skip to content

Tiru2002/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
0034-find-first-and-last-position-of-element-in-sorted-array
0035-search-insert-position
0042-trapping-rain-water
0048-rotate-image
0049-group-anagrams
0204-count-primes
0215-kth-largest-element-in-an-array
0283-move-zeroes
0287-find-the-duplicate-number
0349-intersection-of-two-arrays
0560-subarray-sum-equals-k
0898-transpose-matrix
1603-running-sum-of-1d-array

Math

0007-reverse-integer
0048-rotate-image
0204-count-primes
0231-power-of-two
0258-add-digits
0319-bulb-switcher

Matrix

0048-rotate-image
0898-transpose-matrix

Two Pointers

0011-container-with-most-water
0028-find-the-index-of-the-first-occurrence-in-a-string
0042-trapping-rain-water
0125-valid-palindrome
0283-move-zeroes
0287-find-the-duplicate-number
0344-reverse-string
0345-reverse-vowels-of-a-string
0349-intersection-of-two-arrays

String

0003-longest-substring-without-repeating-characters
0014-longest-common-prefix
0020-valid-parentheses
0028-find-the-index-of-the-first-occurrence-in-a-string
0049-group-anagrams
0058-length-of-last-word
0125-valid-palindrome
0242-valid-anagram
0344-reverse-string
0345-reverse-vowels-of-a-string
0387-first-unique-character-in-a-string

Hash Table

0001-two-sum
0003-longest-substring-without-repeating-characters
0049-group-anagrams
0242-valid-anagram
0349-intersection-of-two-arrays
0387-first-unique-character-in-a-string
0560-subarray-sum-equals-k

Sorting

0049-group-anagrams
0215-kth-largest-element-in-an-array
0242-valid-anagram
0349-intersection-of-two-arrays

Linked List

0021-merge-two-sorted-lists
0206-reverse-linked-list
0237-delete-node-in-a-linked-list

Recursion

0021-merge-two-sorted-lists
0206-reverse-linked-list
0231-power-of-two

Stack

0020-valid-parentheses
0042-trapping-rain-water
0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0232-implement-queue-using-stacks

Design

0232-implement-queue-using-stacks

Queue

0232-implement-queue-using-stacks
0387-first-unique-character-in-a-string

Tree

0094-binary-tree-inorder-traversal
0102-binary-tree-level-order-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0226-invert-binary-tree

Breadth-First Search

0102-binary-tree-level-order-traversal
0226-invert-binary-tree

Binary Tree

0094-binary-tree-inorder-traversal
0102-binary-tree-level-order-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0226-invert-binary-tree

Depth-First Search

0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0226-invert-binary-tree

Enumeration

0204-count-primes

Number Theory

0204-count-primes
0258-add-digits

Bit Manipulation

0231-power-of-two
0287-find-the-duplicate-number

Simulation

0258-add-digits
0898-transpose-matrix

Brainteaser

0319-bulb-switcher

Dynamic Programming

0042-trapping-rain-water

Monotonic Stack

0042-trapping-rain-water

Divide and Conquer

0215-kth-largest-element-in-an-array

Heap (Priority Queue)

0215-kth-largest-element-in-an-array

Quickselect

0215-kth-largest-element-in-an-array

Counting

0387-first-unique-character-in-a-string

Binary Search

0034-find-first-and-last-position-of-element-in-sorted-array
0035-search-insert-position
0287-find-the-duplicate-number
0349-intersection-of-two-arrays

Database

0175-combine-two-tables
0181-employees-earning-more-than-their-managers
0183-customers-who-never-order
1908-recyclable-and-low-fat-products

Greedy

0011-container-with-most-water

Sliding Window

0003-longest-substring-without-repeating-characters

Trie

0014-longest-common-prefix

Prefix Sum

0560-subarray-sum-equals-k
1603-running-sum-of-1d-array

String Matching

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published