Skip to content

Kushagra614/Problem-Solving

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Solved Problems - Data Structures and Algorithms

These problems are from LEETCODE and GEEKSFORGEEKS

I HAVE USED EXTESNTIONS LIKE LEETHUB TO UPLOAD MY CODE DIRECTLY TO GITHUB

LeetCode Topics

Stack

0042-trapping-rain-water
0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal

Tree

0094-binary-tree-inorder-traversal
0100-same-tree
0102-binary-tree-level-order-traversal
0110-balanced-binary-tree
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0199-binary-tree-right-side-view
0543-diameter-of-binary-tree

Depth-First Search

0094-binary-tree-inorder-traversal
0100-same-tree
0110-balanced-binary-tree
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0199-binary-tree-right-side-view
0543-diameter-of-binary-tree

Binary Tree

0094-binary-tree-inorder-traversal
0100-same-tree
0102-binary-tree-level-order-traversal
0110-balanced-binary-tree
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal
0199-binary-tree-right-side-view
0543-diameter-of-binary-tree

Breadth-First Search

0100-same-tree
0102-binary-tree-level-order-traversal
0199-binary-tree-right-side-view

Array

0001-two-sum
0011-container-with-most-water
0015-3sum
0026-remove-duplicates-from-sorted-array
0027-remove-element
0042-trapping-rain-water
0045-jump-game-ii
0055-jump-game
0080-remove-duplicates-from-sorted-array-ii
0088-merge-sorted-array
0121-best-time-to-buy-and-sell-stock
0122-best-time-to-buy-and-sell-stock-ii
0136-single-number
0167-two-sum-ii-input-array-is-sorted
0189-rotate-array
0238-product-of-array-except-self
0268-missing-number
0274-h-index
0283-move-zeroes
0349-intersection-of-two-arrays
0485-max-consecutive-ones
1046-max-consecutive-ones-iii
1538-maximum-points-you-can-obtain-from-cards
1878-check-if-array-is-sorted-and-rotated

Two Pointers

0011-container-with-most-water
0015-3sum
0026-remove-duplicates-from-sorted-array
0027-remove-element
0042-trapping-rain-water
0080-remove-duplicates-from-sorted-array-ii
0088-merge-sorted-array
0125-valid-palindrome
0151-reverse-words-in-a-string
0167-two-sum-ii-input-array-is-sorted
0189-rotate-array
0283-move-zeroes
0344-reverse-string
0349-intersection-of-two-arrays
0392-is-subsequence

Sorting

0015-3sum
0088-merge-sorted-array
0268-missing-number
0274-h-index
0349-intersection-of-two-arrays

Math

0009-palindrome-number
0013-roman-to-integer
0189-rotate-array
0268-missing-number

String

0003-longest-substring-without-repeating-characters
0013-roman-to-integer
0014-longest-common-prefix
0058-length-of-last-word
0125-valid-palindrome
0151-reverse-words-in-a-string
0344-reverse-string
0392-is-subsequence
3379-score-of-a-string

Hash Table

0001-two-sum
0003-longest-substring-without-repeating-characters
0013-roman-to-integer
0268-missing-number
0349-intersection-of-two-arrays

Binary Search

0167-two-sum-ii-input-array-is-sorted
0268-missing-number
0349-intersection-of-two-arrays
1046-max-consecutive-ones-iii

Bit Manipulation

0136-single-number
0268-missing-number

Dynamic Programming

0042-trapping-rain-water
0045-jump-game-ii
0055-jump-game
0121-best-time-to-buy-and-sell-stock
0122-best-time-to-buy-and-sell-stock-ii
0392-is-subsequence

Greedy

0011-container-with-most-water
0045-jump-game-ii
0055-jump-game
0122-best-time-to-buy-and-sell-stock-ii

Counting Sort

0274-h-index

Prefix Sum

0238-product-of-array-except-self
1046-max-consecutive-ones-iii
1538-maximum-points-you-can-obtain-from-cards

Trie

0014-longest-common-prefix

Monotonic Stack

0042-trapping-rain-water

Linked List

0021-merge-two-sorted-lists

Recursion

0021-merge-two-sorted-lists

Sliding Window

0003-longest-substring-without-repeating-characters
1046-max-consecutive-ones-iii
1538-maximum-points-you-can-obtain-from-cards

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages