Skip to content

smhimran/LeetCode-Solves

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode-Solves

Collection of LeetCode questions to ace the coding interview! - Created using LeetHub

LeetCode Topics

Array

0049-group-anagrams
0121-best-time-to-buy-and-sell-stock
0179-largest-number
0198-house-robber
0200-number-of-islands
0238-product-of-array-except-self
0253-meeting-rooms-ii
0347-top-k-frequent-elements
0605-can-place-flowers
0739-daily-temperatures
0890-lemonade-change
0990-verifying-an-alien-dictionary
1014-k-closest-points-to-origin
1206-corporate-flight-bookings
1524-string-matching-in-an-array
1895-minimum-number-of-operations-to-move-all-balls-to-each-box
2165-plates-between-candles
2232-adding-spaces-to-a-string
2265-partition-array-according-to-given-pivot
2533-bitwise-xor-of-all-pairings
2692-take-gifts-from-the-richest-pile
2792-neighboring-bitwise-xor
3309-count-prefix-and-suffix-pairs-i

Math

0050-powx-n
0650-2-keys-keyboard
1014-k-closest-points-to-origin

Divide and Conquer

0347-top-k-frequent-elements
1014-k-closest-points-to-origin

Geometry

1014-k-closest-points-to-origin

Sorting

0049-group-anagrams
0179-largest-number
0242-valid-anagram
0253-meeting-rooms-ii
0347-top-k-frequent-elements
1014-k-closest-points-to-origin

Heap (Priority Queue)

0253-meeting-rooms-ii
0347-top-k-frequent-elements
1014-k-closest-points-to-origin
2692-take-gifts-from-the-richest-pile

Quickselect

0347-top-k-frequent-elements
1014-k-closest-points-to-origin

Recursion

0050-powx-n

String

0003-longest-substring-without-repeating-characters
0038-count-and-say
0049-group-anagrams
0058-length-of-last-word
0179-largest-number
0242-valid-anagram
0345-reverse-vowels-of-a-string
0990-verifying-an-alien-dictionary
1524-string-matching-in-an-array
1537-maximum-score-after-splitting-a-string
1895-minimum-number-of-operations-to-move-all-balls-to-each-box
2165-plates-between-candles
2232-adding-spaces-to-a-string
2463-minimum-recolors-to-get-k-consecutive-black-blocks
3309-count-prefix-and-suffix-pairs-i

Stack

0145-binary-tree-postorder-traversal
0739-daily-temperatures

Monotonic Stack

0739-daily-temperatures

Greedy

0179-largest-number
0253-meeting-rooms-ii
0605-can-place-flowers
0890-lemonade-change
2509-minimize-xor

Two Pointers

0141-linked-list-cycle
0253-meeting-rooms-ii
0345-reverse-vowels-of-a-string
2232-adding-spaces-to-a-string
2265-partition-array-according-to-given-pivot

Prefix Sum

0238-product-of-array-except-self
0253-meeting-rooms-ii
1206-corporate-flight-bookings
1537-maximum-score-after-splitting-a-string
1895-minimum-number-of-operations-to-move-all-balls-to-each-box
2165-plates-between-candles

Dynamic Programming

0121-best-time-to-buy-and-sell-stock
0198-house-robber
0650-2-keys-keyboard

Hash Table

0003-longest-substring-without-repeating-characters
0049-group-anagrams
0141-linked-list-cycle
0242-valid-anagram
0347-top-k-frequent-elements
0990-verifying-an-alien-dictionary

Bucket Sort

0347-top-k-frequent-elements

Counting

0347-top-k-frequent-elements

Tree

0145-binary-tree-postorder-traversal

Depth-First Search

0145-binary-tree-postorder-traversal
0200-number-of-islands

Binary Tree

0145-binary-tree-postorder-traversal

Breadth-First Search

0200-number-of-islands

Union Find

0200-number-of-islands

Matrix

0200-number-of-islands

Binary Search

2165-plates-between-candles

Simulation

2232-adding-spaces-to-a-string
2265-partition-array-according-to-given-pivot
2692-take-gifts-from-the-richest-pile

Database

0176-second-highest-salary

String Matching

1524-string-matching-in-an-array
3309-count-prefix-and-suffix-pairs-i

Sliding Window

0003-longest-substring-without-repeating-characters
2463-minimum-recolors-to-get-k-consecutive-black-blocks

Trie

3309-count-prefix-and-suffix-pairs-i

Rolling Hash

3309-count-prefix-and-suffix-pairs-i

Hash Function

3309-count-prefix-and-suffix-pairs-i

Bit Manipulation

2509-minimize-xor
2533-bitwise-xor-of-all-pairings
2792-neighboring-bitwise-xor

Brainteaser

2533-bitwise-xor-of-all-pairings

Linked List

0141-linked-list-cycle

About

Collection of LeetCode questions to ace the coding interview! - Created using [LeetHub](https://github.com/QasimWani/LeetHub)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published