Skip to content

Here is the solution of all the Leetcode Questions solved by me.

Notifications You must be signed in to change notification settings

iampushkar/DsAlgorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Structure & Algorithms Code

Math

0070-climbing-stairs

Dynamic Programming

0070-climbing-stairs

Memoization

0070-climbing-stairs

LeetCode Topics

Array

0011-container-with-most-water
0033-search-in-rotated-sorted-array
0088-merge-sorted-array
0198-house-robber
0213-house-robber-ii
0349-intersection-of-two-arrays
0907-koko-eating-bananas
1402-count-square-submatrices-with-all-ones
1679-shortest-subarray-to-be-removed-to-make-array-sorted
1755-defuse-the-bomb
2058-concatenation-of-array
2188-minimized-maximum-of-products-distributed-to-any-store
2428-equal-row-and-column-pairs
2699-count-the-number-of-fair-pairs
2716-prime-subtraction-operation
2917-count-pairs-whose-sum-is-less-than-target
3291-find-if-array-can-be-sorted
3522-find-the-power-of-k-size-subarrays-i

Sliding Window

1755-defuse-the-bomb
3522-find-the-power-of-k-size-subarrays-i

Hash Table

0141-linked-list-cycle
0242-valid-anagram
0349-intersection-of-two-arrays
0920-uncommon-words-from-two-sentences
2428-equal-row-and-column-pairs

Two Pointers

0011-container-with-most-water
0088-merge-sorted-array
0141-linked-list-cycle
0349-intersection-of-two-arrays
1679-shortest-subarray-to-be-removed-to-make-array-sorted
2699-count-the-number-of-fair-pairs
2917-count-pairs-whose-sum-is-less-than-target

Binary Search

0033-search-in-rotated-sorted-array
0349-intersection-of-two-arrays
0907-koko-eating-bananas
1679-shortest-subarray-to-be-removed-to-make-array-sorted
2188-minimized-maximum-of-products-distributed-to-any-store
2699-count-the-number-of-fair-pairs
2716-prime-subtraction-operation
2917-count-pairs-whose-sum-is-less-than-target

Sorting

0088-merge-sorted-array
0242-valid-anagram
0349-intersection-of-two-arrays
2646-kth-largest-sum-in-a-binary-tree
2699-count-the-number-of-fair-pairs
2917-count-pairs-whose-sum-is-less-than-target
3291-find-if-array-can-be-sorted

Math

0670-maximum-swap
1642-water-bottles
2716-prime-subtraction-operation

Simulation

1642-water-bottles
2058-concatenation-of-array
2428-equal-row-and-column-pairs

Dynamic Programming

0198-house-robber
0213-house-robber-ii
1402-count-square-submatrices-with-all-ones

Greedy

0011-container-with-most-water
0670-maximum-swap
2716-prime-subtraction-operation

String

0242-valid-anagram
0812-rotate-string
0920-uncommon-words-from-two-sentences
1302-delete-characters-to-make-fancy-string
2580-circular-sentence
3174-minimum-number-of-changes-to-make-binary-string-beautiful

Counting

0920-uncommon-words-from-two-sentences

Linked List

0141-linked-list-cycle

Tree

0988-flip-equivalent-binary-trees
2646-kth-largest-sum-in-a-binary-tree

Breadth-First Search

2646-kth-largest-sum-in-a-binary-tree

Binary Tree

0988-flip-equivalent-binary-trees
2646-kth-largest-sum-in-a-binary-tree

Depth-First Search

0988-flip-equivalent-binary-trees

Matrix

1402-count-square-submatrices-with-all-ones
2428-equal-row-and-column-pairs

String Matching

0812-rotate-string

Bit Manipulation

3291-find-if-array-can-be-sorted
3394-minimum-array-end

Number Theory

2716-prime-subtraction-operation

Stack

1679-shortest-subarray-to-be-removed-to-make-array-sorted

Monotonic Stack

1679-shortest-subarray-to-be-removed-to-make-array-sorted

About

Here is the solution of all the Leetcode Questions solved by me.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published