Skip to content

Aryanb10/Leetcode_problems

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

217 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Leetcode_problems

LeetCode Topics

Array

0001-two-sum
0004-median-of-two-sorted-arrays
0015-3sum
0033-search-in-rotated-sorted-array
0036-valid-sudoku
0049-group-anagrams
0074-search-a-2d-matrix
0121-best-time-to-buy-and-sell-stock
0128-longest-consecutive-sequence
0150-evaluate-reverse-polish-notation
0153-find-minimum-in-rotated-sorted-array
0167-two-sum-ii-input-array-is-sorted
0198-house-robber
0217-contains-duplicate
0238-product-of-array-except-self
0287-find-the-duplicate-number
0347-top-k-frequent-elements
0704-binary-search
0739-daily-temperatures
0875-koko-eating-bananas

Hash Table

0001-two-sum
0003-longest-substring-without-repeating-characters
0036-valid-sudoku
0049-group-anagrams
0128-longest-consecutive-sequence
0141-linked-list-cycle
0217-contains-duplicate
0242-valid-anagram
0347-top-k-frequent-elements
0424-longest-repeating-character-replacement
0567-permutation-in-string

Union-Find

0128-longest-consecutive-sequence

Sorting

0015-3sum
0049-group-anagrams
0217-contains-duplicate
0242-valid-anagram
0347-top-k-frequent-elements

String

0003-longest-substring-without-repeating-characters
0005-longest-palindromic-substring
0020-valid-parentheses
0049-group-anagrams
0125-valid-palindrome
0242-valid-anagram
0424-longest-repeating-character-replacement
0567-permutation-in-string

Divide and Conquer

0004-median-of-two-sorted-arrays
0347-top-k-frequent-elements

Heap (Priority Queue)

0347-top-k-frequent-elements

Bucket Sort

0347-top-k-frequent-elements

Counting

0347-top-k-frequent-elements

Quickselect

0347-top-k-frequent-elements

Prefix Sum

0238-product-of-array-except-self

Two Pointers

0005-longest-palindromic-substring
0015-3sum
0019-remove-nth-node-from-end-of-list
0125-valid-palindrome
0141-linked-list-cycle
0143-reorder-list
0167-two-sum-ii-input-array-is-sorted
0287-find-the-duplicate-number
0567-permutation-in-string

Dynamic Programming

0005-longest-palindromic-substring
0121-best-time-to-buy-and-sell-stock
0198-house-robber

Binary Search

0004-median-of-two-sorted-arrays
0033-search-in-rotated-sorted-array
0069-sqrtx
0074-search-a-2d-matrix
0153-find-minimum-in-rotated-sorted-array
0167-two-sum-ii-input-array-is-sorted
0287-find-the-duplicate-number
0367-valid-perfect-square
0704-binary-search
0875-koko-eating-bananas

Sliding Window

0003-longest-substring-without-repeating-characters
0424-longest-repeating-character-replacement
0567-permutation-in-string

Stack

0020-valid-parentheses
0143-reorder-list
0150-evaluate-reverse-polish-notation
0155-min-stack
0739-daily-temperatures

Design

0155-min-stack

Math

0002-add-two-numbers
0069-sqrtx
0150-evaluate-reverse-polish-notation
0367-valid-perfect-square

Monotonic Stack

0739-daily-temperatures

Matrix

0036-valid-sudoku
0074-search-a-2d-matrix

Linked List

0002-add-two-numbers
0019-remove-nth-node-from-end-of-list
0021-merge-two-sorted-lists
0141-linked-list-cycle
0143-reorder-list
0206-reverse-linked-list

Recursion

0002-add-two-numbers
0021-merge-two-sorted-lists
0143-reorder-list
0206-reverse-linked-list

Bit Manipulation

0287-find-the-duplicate-number

Tree

0100-same-tree
0102-binary-tree-level-order-traversal
0104-maximum-depth-of-binary-tree
0110-balanced-binary-tree
0226-invert-binary-tree
0543-diameter-of-binary-tree
0572-subtree-of-another-tree

Depth-First Search

0100-same-tree
0104-maximum-depth-of-binary-tree
0110-balanced-binary-tree
0226-invert-binary-tree
0543-diameter-of-binary-tree
0572-subtree-of-another-tree

Binary Tree

0100-same-tree
0102-binary-tree-level-order-traversal
0104-maximum-depth-of-binary-tree
0110-balanced-binary-tree
0226-invert-binary-tree
0543-diameter-of-binary-tree
0572-subtree-of-another-tree

Breadth-First Search

0100-same-tree
0102-binary-tree-level-order-traversal
0104-maximum-depth-of-binary-tree
0226-invert-binary-tree

String Matching

0572-subtree-of-another-tree

Hash Function

0572-subtree-of-another-tree

About

This repository is a collection of my LeetCode solutions where each entry is organized with the problem’s solution along with it's corresponding topic name, making it easy to track my progress and revise key concepts across different areas of data structures and algorithms.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages