Skip to content

Fiqqar/Leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A collection of LeetCode questions to ace the coding interview! - Created using LeetHub v2

LeetCode Topics

Array

0001-two-sum
0026-remove-duplicates-from-sorted-array
0027-remove-element
0035-search-insert-position
0066-plus-one
0088-merge-sorted-array
0605-can-place-flowers
1482-how-many-numbers-are-smaller-than-the-current-number
1524-string-matching-in-an-array
1528-kids-with-the-greatest-number-of-candies
1580-shuffle-the-array
1603-running-sum-of-1d-array
1635-number-of-good-pairs
1651-shuffle-string
1656-count-good-triplets
1786-count-the-number-of-consistent-strings
1791-richest-customer-wealth
1833-find-the-highest-altitude
1895-minimum-number-of-operations-to-move-all-balls-to-each-box
1944-truncate-sentence
1993-sum-of-all-subset-xor-totals
2048-build-array-from-permutation
2058-concatenation-of-array
2137-final-value-of-variable-after-performing-operations
2148-minimum-number-of-moves-to-seat-everyone
2714-left-and-right-sum-differences
2876-number-of-employees-who-met-the-target
2917-count-pairs-whose-sum-is-less-than-target
2977-check-if-a-string-is-an-acronym-of-words
3194-find-words-containing-character
3226-minimum-number-game
3309-count-prefix-and-suffix-pairs-i
3446-find-the-number-of-good-pairs-i
3476-find-minimum-operations-to-make-all-elements-divisible-by-three
3533-snake-in-matrix
3581-the-two-sneaky-numbers-of-digitville
3778-transform-array-by-parity

String

0013-roman-to-integer
0014-longest-common-prefix
0020-valid-parentheses
0028-find-the-index-of-the-first-occurrence-in-a-string
0058-length-of-last-word
0067-add-binary
0125-valid-palindrome
0742-to-lower-case
1146-greatest-common-divisor-of-strings
1205-defanging-an-ip-address
1524-string-matching-in-an-array
1651-shuffle-string
1786-count-the-number-of-consistent-strings
1797-goal-parser-interpretation
1894-merge-strings-alternately
1895-minimum-number-of-operations-to-move-all-balls-to-each-box
1944-truncate-sentence
2137-final-value-of-variable-after-performing-operations
2977-check-if-a-string-is-an-acronym-of-words
3194-find-words-containing-character
3309-count-prefix-and-suffix-pairs-i
3379-score-of-a-string
3447-clear-digits
3533-snake-in-matrix
3567-convert-date-to-binary
3811-reverse-degree-of-a-string

String Matching

0028-find-the-index-of-the-first-occurrence-in-a-string
1524-string-matching-in-an-array
3309-count-prefix-and-suffix-pairs-i

Trie

0014-longest-common-prefix
3309-count-prefix-and-suffix-pairs-i

Rolling Hash

3309-count-prefix-and-suffix-pairs-i

Hash Function

3309-count-prefix-and-suffix-pairs-i

Math

0009-palindrome-number
0013-roman-to-integer
0066-plus-one
0067-add-binary
0069-sqrtx
0070-climbing-stairs
1146-greatest-common-divisor-of-strings
1448-maximum-69-number
1635-number-of-good-pairs
1806-count-of-matches-in-tournament
1993-sum-of-all-subset-xor-totals
2383-add-two-integers
2491-smallest-even-multiple
2556-convert-the-temperature
2608-count-the-digits-that-divide-a-number
2752-sum-multiples
2812-find-the-maximum-achievable-number
2903-insert-greatest-common-divisors-in-linked-list
3172-divisible-and-non-divisible-sums-difference
3476-find-minimum-operations-to-make-all-elements-divisible-by-three
3567-convert-date-to-binary
3581-the-two-sneaky-numbers-of-digitville
3830-find-closest-person

Two Pointers

0026-remove-duplicates-from-sorted-array
0027-remove-element
0028-find-the-index-of-the-first-occurrence-in-a-string
0088-merge-sorted-array
0125-valid-palindrome
1894-merge-strings-alternately
2917-count-pairs-whose-sum-is-less-than-target

Hash Table

0001-two-sum
0013-roman-to-integer
1482-how-many-numbers-are-smaller-than-the-current-number
1635-number-of-good-pairs
1786-count-the-number-of-consistent-strings
3446-find-the-number-of-good-pairs-i
3581-the-two-sneaky-numbers-of-digitville

Binary Search

0035-search-insert-position
0069-sqrtx
2917-count-pairs-whose-sum-is-less-than-target

Stack

0020-valid-parentheses
3447-clear-digits

Simulation

0067-add-binary
1806-count-of-matches-in-tournament
2048-build-array-from-permutation
2058-concatenation-of-array
2137-final-value-of-variable-after-performing-operations
3226-minimum-number-game
3447-clear-digits
3533-snake-in-matrix
3811-reverse-degree-of-a-string

Linked List

0021-merge-two-sorted-lists
0083-remove-duplicates-from-sorted-list
2903-insert-greatest-common-divisors-in-linked-list

Recursion

0021-merge-two-sorted-lists

Dynamic Programming

0070-climbing-stairs

Memoization

0070-climbing-stairs

Bit Manipulation

0067-add-binary
1786-count-the-number-of-consistent-strings
1993-sum-of-all-subset-xor-totals

Sorting

0088-merge-sorted-array
1482-how-many-numbers-are-smaller-than-the-current-number
2148-minimum-number-of-moves-to-seat-everyone
2917-count-pairs-whose-sum-is-less-than-target
3226-minimum-number-game
3778-transform-array-by-parity

Matrix

1791-richest-customer-wealth

Counting

1635-number-of-good-pairs
1786-count-the-number-of-consistent-strings
3778-transform-array-by-parity

Database

0584-find-customer-referee
1827-invalid-tweets
1892-find-total-time-spent-by-each-employee
1908-recyclable-and-low-fat-products
1948-rearrange-products-table
2495-number-of-unique-subjects-taught-by-each-teacher

Number Theory

2491-smallest-even-multiple
2903-insert-greatest-common-divisors-in-linked-list

Prefix Sum

1603-running-sum-of-1d-array
1833-find-the-highest-altitude
1895-minimum-number-of-operations-to-move-all-balls-to-each-box
2714-left-and-right-sum-differences

Greedy

0605-can-place-flowers
1448-maximum-69-number
2148-minimum-number-of-moves-to-seat-everyone

Counting Sort

1482-how-many-numbers-are-smaller-than-the-current-number
2148-minimum-number-of-moves-to-seat-everyone

Tree

0102-binary-tree-level-order-traversal
0975-range-sum-of-bst

Depth-First Search

0975-range-sum-of-bst

Binary Search Tree

0975-range-sum-of-bst

Binary Tree

0102-binary-tree-level-order-traversal
0975-range-sum-of-bst

Heap (Priority Queue)

3226-minimum-number-game

Enumeration

1656-count-good-triplets
1993-sum-of-all-subset-xor-totals

Backtracking

1993-sum-of-all-subset-xor-totals

Combinatorics

1993-sum-of-all-subset-xor-totals

Breadth-First Search

0102-binary-tree-level-order-traversal

About

this is my leetcode journey starting from 5 January 2025

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published