Skip to content

Ayat-Gamal/ProblemSolving

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

355 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode

This repository contains my solutions to LeetCode problems.

Happy coding! 🚀

LeetCode Topics

Linked List

0002-add-two-numbers
0148-sort-list

Two Pointers

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
0080-remove-duplicates-from-sorted-array-ii
0088-merge-sorted-array
0125-valid-palindrome
0148-sort-list
0151-reverse-words-in-a-string
0167-two-sum-ii-input-array-is-sorted
0189-rotate-array
0283-move-zeroes
0392-is-subsequence
1009-pancake-sorting
1019-squares-of-a-sorted-array
2551-apply-operations-to-an-array

Divide and Conquer

0148-sort-list
0169-majority-element

Sorting

0015-3sum
0088-merge-sorted-array
0148-sort-list
0169-majority-element
0807-custom-sort-string
1009-pancake-sorting
1019-squares-of-a-sorted-array
1367-maximum-height-by-stacking-cuboids

Merge Sort

0148-sort-list

Hash Table

0003-longest-substring-without-repeating-characters
0013-roman-to-integer
0169-majority-element
0205-isomorphic-strings
0383-ransom-note
0807-custom-sort-string
2220-find-all-possible-recipes-from-given-supplies
2308-divide-array-into-equal-pairs

String

0003-longest-substring-without-repeating-characters
0013-roman-to-integer
0028-find-the-index-of-the-first-occurrence-in-a-string
0058-length-of-last-word
0067-add-binary
0125-valid-palindrome
0151-reverse-words-in-a-string
0205-isomorphic-strings
0383-ransom-note
0392-is-subsequence
0807-custom-sort-string
2220-find-all-possible-recipes-from-given-supplies

Array

0011-container-with-most-water
0015-3sum
0026-remove-duplicates-from-sorted-array
0027-remove-element
0035-search-insert-position
0066-plus-one
0080-remove-duplicates-from-sorted-array-ii
0088-merge-sorted-array
0136-single-number
0162-find-peak-element
0167-two-sum-ii-input-array-is-sorted
0169-majority-element
0189-rotate-array
0209-minimum-size-subarray-sum
0283-move-zeroes
0643-maximum-average-subarray-i
1009-pancake-sorting
1019-squares-of-a-sorted-array
1367-maximum-height-by-stacking-cuboids
2220-find-all-possible-recipes-from-given-supplies
2308-divide-array-into-equal-pairs
2478-longest-nice-subarray
2551-apply-operations-to-an-array
2614-maximum-count-of-positive-integer-and-negative-integer
2665-minimum-time-to-repair-cars
2690-house-robber-iv
3348-minimum-cost-walk-in-weighted-graph
3475-minimum-operations-to-make-binary-array-elements-equal-to-one-i

Greedy

0011-container-with-most-water
1009-pancake-sorting

Dynamic Programming

0070-climbing-stairs
0392-is-subsequence
1367-maximum-height-by-stacking-cuboids

Binary Search

0035-search-insert-position
0069-sqrtx
0162-find-peak-element
0167-two-sum-ii-input-array-is-sorted
0209-minimum-size-subarray-sum
2614-maximum-count-of-positive-integer-and-negative-integer
2665-minimum-time-to-repair-cars
2690-house-robber-iv

Bit Manipulation

0067-add-binary
0136-single-number
2308-divide-array-into-equal-pairs
2478-longest-nice-subarray
3348-minimum-cost-walk-in-weighted-graph
3475-minimum-operations-to-make-binary-array-elements-equal-to-one-i

Counting

0169-majority-element
0383-ransom-note
2308-divide-array-into-equal-pairs
2614-maximum-count-of-positive-integer-and-negative-integer

Sliding Window

0003-longest-substring-without-repeating-characters
0209-minimum-size-subarray-sum
0643-maximum-average-subarray-i
2478-longest-nice-subarray
3475-minimum-operations-to-make-binary-array-elements-equal-to-one-i

Queue

3475-minimum-operations-to-make-binary-array-elements-equal-to-one-i

Prefix Sum

0209-minimum-size-subarray-sum
3475-minimum-operations-to-make-binary-array-elements-equal-to-one-i

Simulation

0067-add-binary
2551-apply-operations-to-an-array

Union Find

3348-minimum-cost-walk-in-weighted-graph

Graph

2220-find-all-possible-recipes-from-given-supplies
3348-minimum-cost-walk-in-weighted-graph

Topological Sort

2220-find-all-possible-recipes-from-given-supplies

String Matching

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

Math

0002-add-two-numbers
0013-roman-to-integer
0066-plus-one
0067-add-binary
0069-sqrtx
0070-climbing-stairs
0189-rotate-array

Recursion

0002-add-two-numbers

Memoization

0070-climbing-stairs

About

This repository is managed by LeetPush extension: https://github.com/husamahmud/LeetPush

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published