Skip to content

About

after a long time finally i have dared to touch the github again and it was too for the most fearing subject DSAAAA !! but dont worry this github repo will help you a lot to learn the dsa Pattern wise not just only the ARray Questions and im still learning too !! hehehe

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

540 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DsA_PatternWISEE

after a long time finally i have dared to touch the github again and it was too for the most fearing subject DSAAAA !! but dont worry this github repo will help you a lot to learn the dsa Pattern wise not just only the ARray Questions and im still learning too !! hehehe . Happy Learning :

Yeah also after sometime i decided to add SQL portion also : all the txt files are the Questions from the GFG:

LeetCode Topics

Two Pointers

0015-3sum
0027-remove-element
0042-trapping-rain-water
0061-rotate-list
0125-valid-palindrome
0167-two-sum-ii-input-array-is-sorted
0283-move-zeroes
0658-find-k-closest-elements

String

0013-roman-to-integer
0017-letter-combinations-of-a-phone-number
0022-generate-parentheses
0058-length-of-last-word
0125-valid-palindrome
0242-valid-anagram
0389-find-the-difference
0409-longest-palindrome
0692-top-k-frequent-words
0767-reorganize-string
1189-maximum-number-of-balloons

Hash Table

0001-two-sum
0013-roman-to-integer
0017-letter-combinations-of-a-phone-number
0169-majority-element
0217-contains-duplicate
0242-valid-anagram
0268-missing-number
0347-top-k-frequent-elements
0389-find-the-difference
0409-longest-palindrome
0442-find-all-duplicates-in-an-array
0621-task-scheduler
0692-top-k-frequent-words
0767-reorganize-string
1189-maximum-number-of-balloons
1207-unique-number-of-occurrences

Counting

0169-majority-element
0347-top-k-frequent-elements
0621-task-scheduler
0692-top-k-frequent-words
0767-reorganize-string
1189-maximum-number-of-balloons

Greedy

0409-longest-palindrome
0502-ipo
0621-task-scheduler
0767-reorganize-string

Linked List

0024-swap-nodes-in-pairs
0025-reverse-nodes-in-k-group
0061-rotate-list
0083-remove-duplicates-from-sorted-list
0092-reverse-linked-list-ii
0203-remove-linked-list-elements

Array

0001-two-sum
0015-3sum
0027-remove-element
0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0039-combination-sum
0042-trapping-rain-water
0046-permutations
0047-permutations-ii
0066-plus-one
0078-subsets
0118-pascals-triangle
0121-best-time-to-buy-and-sell-stock
0136-single-number
0137-single-number-ii
0153-find-minimum-in-rotated-sorted-array
0167-two-sum-ii-input-array-is-sorted
0169-majority-element
0215-kth-largest-element-in-an-array
0217-contains-duplicate
0240-search-a-2d-matrix-ii
0260-single-number-iii
0268-missing-number
0275-h-index-ii
0283-move-zeroes
0347-top-k-frequent-elements
0378-kth-smallest-element-in-a-sorted-matrix
0414-third-maximum-number
0442-find-all-duplicates-in-an-array
0502-ipo
0621-task-scheduler
0643-maximum-average-subarray-i
0658-find-k-closest-elements
0692-top-k-frequent-words
0704-binary-search
0735-asteroid-collision
0852-peak-index-in-a-mountain-array
0875-koko-eating-bananas
0973-k-closest-points-to-origin
1207-unique-number-of-occurrences
1337-the-k-weakest-rows-in-a-matrix
1552-magnetic-force-between-two-balls
1752-check-if-array-is-sorted-and-rotated
1822-sign-of-the-product-of-an-array
2016-maximum-difference-between-increasing-elements
2226-maximum-candies-allocated-to-k-children
2239-find-closest-number-to-zero
3024-type-of-triangle

Sorting

0015-3sum
0047-permutations-ii
0169-majority-element
0215-kth-largest-element-in-an-array
0217-contains-duplicate
0242-valid-anagram
0268-missing-number
0347-top-k-frequent-elements
0378-kth-smallest-element-in-a-sorted-matrix
0389-find-the-difference
0414-third-maximum-number
0442-find-all-duplicates-in-an-array
0502-ipo
0621-task-scheduler
0658-find-k-closest-elements
0692-top-k-frequent-words
0767-reorganize-string
0973-k-closest-points-to-origin
1337-the-k-weakest-rows-in-a-matrix
1552-magnetic-force-between-two-balls
3024-type-of-triangle

Recursion

0024-swap-nodes-in-pairs
0025-reverse-nodes-in-k-group
0203-remove-linked-list-elements
0509-fibonacci-number

Binary Search

0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0153-find-minimum-in-rotated-sorted-array
0167-two-sum-ii-input-array-is-sorted
0240-search-a-2d-matrix-ii
0268-missing-number
0275-h-index-ii
0367-valid-perfect-square
0378-kth-smallest-element-in-a-sorted-matrix
0658-find-k-closest-elements
0704-binary-search
0852-peak-index-in-a-mountain-array
0875-koko-eating-bananas
1337-the-k-weakest-rows-in-a-matrix
1552-magnetic-force-between-two-balls
2226-maximum-candies-allocated-to-k-children

Bit Manipulation

0078-subsets
0136-single-number
0137-single-number-ii
0260-single-number-iii
0268-missing-number
0338-counting-bits
0389-find-the-difference

Divide and Conquer

0169-majority-element
0215-kth-largest-element-in-an-array
0240-search-a-2d-matrix-ii
0347-top-k-frequent-elements
0973-k-closest-points-to-origin

Math

0009-palindrome-number
0013-roman-to-integer
0066-plus-one
0172-factorial-trailing-zeroes
0258-add-digits
0263-ugly-number
0268-missing-number
0367-valid-perfect-square
0492-construct-the-rectangle
0509-fibonacci-number
0836-rectangle-overlap
0973-k-closest-points-to-origin
1822-sign-of-the-product-of-an-array
2235-add-two-integers
2481-minimum-cuts-to-divide-a-circle
3024-type-of-triangle
3516-find-closest-person

Backtracking

0017-letter-combinations-of-a-phone-number
0022-generate-parentheses
0039-combination-sum
0046-permutations
0047-permutations-ii
0078-subsets

Stack

0042-trapping-rain-water
0094-binary-tree-inorder-traversal
0145-binary-tree-postorder-traversal
0735-asteroid-collision

Simulation

0258-add-digits
0735-asteroid-collision

Dynamic Programming

0022-generate-parentheses
0042-trapping-rain-water
0118-pascals-triangle
0121-best-time-to-buy-and-sell-stock
0338-counting-bits
0509-fibonacci-number

Monotonic Stack

0042-trapping-rain-water

Matrix

0240-search-a-2d-matrix-ii
0378-kth-smallest-element-in-a-sorted-matrix
1337-the-k-weakest-rows-in-a-matrix

Heap (Priority Queue)

0215-kth-largest-element-in-an-array
0347-top-k-frequent-elements
0378-kth-smallest-element-in-a-sorted-matrix
0502-ipo
0621-task-scheduler
0658-find-k-closest-elements
0692-top-k-frequent-words
0767-reorganize-string
0973-k-closest-points-to-origin
1337-the-k-weakest-rows-in-a-matrix

Quickselect

0215-kth-largest-element-in-an-array
0347-top-k-frequent-elements
0973-k-closest-points-to-origin

Bucket Sort

0347-top-k-frequent-elements
0692-top-k-frequent-words

Trie

0692-top-k-frequent-words

Geometry

0836-rectangle-overlap
0973-k-closest-points-to-origin
2481-minimum-cuts-to-divide-a-circle

K-D Tree

0973-k-closest-points-to-origin

Sliding Window

0643-maximum-average-subarray-i
0658-find-k-closest-elements

Database

0182-duplicate-emails
0183-customers-who-never-order
0584-find-customer-referee
0595-big-countries
0620-not-boring-movies
1068-product-sales-analysis-i
1148-article-views-i
1378-replace-employee-id-with-the-unique-identifier
1683-invalid-tweets
1757-recyclable-and-low-fat-products

Polygons

3024-type-of-triangle

Memoization

0509-fibonacci-number

Number Theory

0258-add-digits

Bracket Sequences

0022-generate-parentheses

Tree

0094-binary-tree-inorder-traversal
0100-same-tree
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0107-binary-tree-level-order-traversal-ii
0145-binary-tree-postorder-traversal
0637-average-of-levels-in-binary-tree
0965-univalued-binary-tree

Depth-First Search

0094-binary-tree-inorder-traversal
0100-same-tree
0101-symmetric-tree
0145-binary-tree-postorder-traversal
0637-average-of-levels-in-binary-tree
0965-univalued-binary-tree

Binary Tree

0094-binary-tree-inorder-traversal
0100-same-tree
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0107-binary-tree-level-order-traversal-ii
0145-binary-tree-postorder-traversal
0637-average-of-levels-in-binary-tree
0965-univalued-binary-tree

Breadth-First Search

0100-same-tree
0101-symmetric-tree
0102-binary-tree-level-order-traversal
0103-binary-tree-zigzag-level-order-traversal
0107-binary-tree-level-order-traversal-ii
0637-average-of-levels-in-binary-tree
0965-univalued-binary-tree

About

after a long time finally i have dared to touch the github again and it was too for the most fearing subject DSAAAA !! but dont worry this github repo will help you a lot to learn the dsa Pattern wise not just only the ARray Questions and im still learning too !! hehehe

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages