Skip to content

SujitYalmar/LEETCODE_SOLUTION

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

642 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DSA

LeetCode Topics

Array

0001-two-sum
0011-container-with-most-water
0015-3sum
0026-remove-duplicates-from-sorted-array
0027-remove-element
0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0035-search-insert-position
0041-first-missing-positive
0042-trapping-rain-water
0049-group-anagrams
0053-maximum-subarray
0055-jump-game
0059-spiral-matrix-ii
0066-plus-one
0073-set-matrix-zeroes
0075-sort-colors
0118-pascals-triangle
0121-best-time-to-buy-and-sell-stock
0167-two-sum-ii-input-array-is-sorted
0189-rotate-array
0217-contains-duplicate
0238-product-of-array-except-self
0287-find-the-duplicate-number
0350-intersection-of-two-arrays-ii
0566-reshape-the-matrix
0645-set-mismatch
0704-binary-search
0852-peak-index-in-a-mountain-array
0921-spiral-matrix-iii
1031-add-to-array-form-of-integer
1217-minimum-cost-to-move-chips-to-the-same-position
1351-count-negative-numbers-in-a-sorted-matrix
1381-design-a-stack-with-increment-operation
1421-find-numbers-with-even-number-of-digits
1426-find-n-unique-integers-sum-up-to-zero
1528-shuffle-string
1773-count-items-matching-a-rule
1833-find-the-highest-altitude
1983-maximum-population-year
2015-determine-whether-matrix-can-be-obtained-by-rotation
2048-build-array-from-permutation
2058-concatenation-of-array

Binary Search

0033-search-in-rotated-sorted-array
0034-find-first-and-last-position-of-element-in-sorted-array
0035-search-insert-position
0069-sqrtx
0167-two-sum-ii-input-array-is-sorted
0278-first-bad-version
0287-find-the-duplicate-number
0350-intersection-of-two-arrays-ii
0367-valid-perfect-square
0374-guess-number-higher-or-lower
0441-arranging-coins
0704-binary-search
0852-peak-index-in-a-mountain-array
1351-count-negative-numbers-in-a-sorted-matrix

Divide and Conquer

0053-maximum-subarray

Dynamic Programming

0005-longest-palindromic-substring
0042-trapping-rain-water
0053-maximum-subarray
0055-jump-game
0118-pascals-triangle
0121-best-time-to-buy-and-sell-stock
0647-palindromic-substrings

Two Pointers

0005-longest-palindromic-substring
0011-container-with-most-water
0015-3sum
0026-remove-duplicates-from-sorted-array
0027-remove-element
0028-find-the-index-of-the-first-occurrence-in-a-string
0042-trapping-rain-water
0075-sort-colors
0125-valid-palindrome
0167-two-sum-ii-input-array-is-sorted
0189-rotate-array
0287-find-the-duplicate-number
0350-intersection-of-two-arrays-ii
0647-palindromic-substrings
1768-merge-strings-alternately

Stack

0020-valid-parentheses
0042-trapping-rain-water
1381-design-a-stack-with-increment-operation

Monotonic Stack

0042-trapping-rain-water

Hash Table

0001-two-sum
0003-longest-substring-without-repeating-characters
0013-roman-to-integer
0041-first-missing-positive
0049-group-anagrams
0073-set-matrix-zeroes
0217-contains-duplicate
0242-valid-anagram
0350-intersection-of-two-arrays-ii
0424-longest-repeating-character-replacement
0645-set-mismatch

Sorting

0015-3sum
0049-group-anagrams
0075-sort-colors
0217-contains-duplicate
0242-valid-anagram
0350-intersection-of-two-arrays-ii
0645-set-mismatch
1859-sorting-the-sentence

String

0003-longest-substring-without-repeating-characters
0005-longest-palindromic-substring
0013-roman-to-integer
0020-valid-parentheses
0028-find-the-index-of-the-first-occurrence-in-a-string
0049-group-anagrams
0125-valid-palindrome
0171-excel-sheet-column-number
0242-valid-anagram
0424-longest-repeating-character-replacement
0647-palindromic-substrings
0709-to-lower-case
1108-defanging-an-ip-address
1528-shuffle-string
1704-determine-if-string-halves-are-alike
1768-merge-strings-alternately
1773-count-items-matching-a-rule
1859-sorting-the-sentence
3798-largest-even-number

Sliding Window

0003-longest-substring-without-repeating-characters
0424-longest-repeating-character-replacement

Greedy

0011-container-with-most-water
0055-jump-game
1217-minimum-cost-to-move-chips-to-the-same-position

Math

0013-roman-to-integer
0066-plus-one
0069-sqrtx
0171-excel-sheet-column-number
0189-rotate-array
0367-valid-perfect-square
0441-arranging-coins
1031-add-to-array-form-of-integer
1217-minimum-cost-to-move-chips-to-the-same-position
1421-find-numbers-with-even-number-of-digits
1426-find-n-unique-integers-sum-up-to-zero

Simulation

0059-spiral-matrix-ii
0566-reshape-the-matrix
0921-spiral-matrix-iii
2048-build-array-from-permutation
2058-concatenation-of-array

Database

0176-second-highest-salary
0185-department-top-three-salaries
0196-delete-duplicate-emails
0197-rising-temperature
0570-managers-with-at-least-5-direct-reports
0577-employee-bonus
0584-find-customer-referee
0585-investments-in-2016
0595-big-countries
0596-classes-with-at-least-5-students
0602-friend-requests-ii-who-has-the-most-friends
0610-triangle-judgement
0619-biggest-single-number
0620-not-boring-movies
0626-exchange-seats
1135-customers-who-bought-all-products
1153-product-sales-analysis-i
1155-product-sales-analysis-iii
1161-project-employees-i
1258-article-views-i
1292-immediate-food-delivery-ii
1317-monthly-transactions-i
1321-restaurant-growth
1327-last-person-to-fit-in-the-bus
1327-list-the-products-ordered-in-a-period
1338-queries-quality-and-percentage
1341-movie-rating
1390-average-selling-price
1415-students-and-examinations
1484-group-sold-products-by-the-date
1509-replace-employee-id-with-the-unique-identifier
1517-find-users-with-valid-e-mails
1527-patients-with-a-condition
1667-fix-names-in-a-table
1724-customer-who-visited-but-did-not-make-any-transactions
1757-recyclable-and-low-fat-products
1773-percentage-of-users-attended-a-contest
1801-average-time-of-process-per-machine
1827-invalid-tweets
1877-find-followers-count
1882-the-number-of-employees-which-report-to-each-employee
1908-recyclable-and-low-fat-products
2057-count-salary-categories
2087-confirmation-rate
2127-employees-whose-manager-left-the-company
2495-number-of-unique-subjects-taught-by-each-teacher

Bit Manipulation

0287-find-the-duplicate-number
0645-set-mismatch

Interactive

0278-first-bad-version
0374-guess-number-higher-or-lower

Matrix

0059-spiral-matrix-ii
0073-set-matrix-zeroes
0566-reshape-the-matrix
0921-spiral-matrix-iii
1351-count-negative-numbers-in-a-sorted-matrix
2015-determine-whether-matrix-can-be-obtained-by-rotation

Prefix Sum

0238-product-of-array-except-self
1833-find-the-highest-altitude
1983-maximum-population-year

Counting

1704-determine-if-string-halves-are-alike
1983-maximum-population-year

Design

1381-design-a-stack-with-increment-operation

String Matching

0028-find-the-index-of-the-first-occurrence-in-a-string

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors