Skip to content

Aditya123-bit/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
0031-next-permutation
0053-maximum-subarray
0075-sort-colors
0080-remove-duplicates-from-sorted-array-ii
0121-best-time-to-buy-and-sell-stock
0136-single-number
0167-two-sum-ii-input-array-is-sorted
0169-majority-element
0189-rotate-array
0283-move-zeroes
0287-find-the-duplicate-number
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii
0560-subarray-sum-equals-k
0713-subarray-product-less-than-k
0898-transpose-matrix
1019-squares-of-a-sorted-array
1293-three-consecutive-odds
1319-unique-number-of-occurrences
1421-find-numbers-with-even-number-of-digits
1482-how-many-numbers-are-smaller-than-the-current-number
1505-create-target-array-in-the-given-order
1528-kids-with-the-greatest-number-of-candies
1580-shuffle-the-array
1635-number-of-good-pairs
1791-richest-customer-wealth
1833-find-the-highest-altitude
1950-sign-of-the-product-of-an-array
2048-build-array-from-permutation
2058-concatenation-of-array
2231-find-first-palindromic-string-in-the-array
2271-rearrange-array-elements-by-sign
2624-difference-between-element-sum-and-digit-sum-of-an-array
2836-neither-minimum-nor-maximum
2876-number-of-employees-who-met-the-target
3226-minimum-number-game
3515-find-if-digit-game-can-be-won

Hash Table

0001-two-sum
0169-majority-element
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii
0560-subarray-sum-equals-k
1319-unique-number-of-occurrences
1482-how-many-numbers-are-smaller-than-the-current-number
1635-number-of-good-pairs

Simulation

0258-add-digits
0898-transpose-matrix
1505-create-target-array-in-the-given-order
2048-build-array-from-permutation
2058-concatenation-of-array
2271-rearrange-array-elements-by-sign
3226-minimum-number-game

Math

0189-rotate-array
0258-add-digits
0367-valid-perfect-square
1421-find-numbers-with-even-number-of-digits
1635-number-of-good-pairs
1950-sign-of-the-product-of-an-array
2383-add-two-integers
2608-count-the-digits-that-divide-a-number
2624-difference-between-element-sum-and-digit-sum-of-an-array
2752-sum-multiples
3172-divisible-and-non-divisible-sums-difference
3515-find-if-digit-game-can-be-won

Matrix

0898-transpose-matrix
1791-richest-customer-wealth

Two Pointers

0026-remove-duplicates-from-sorted-array
0031-next-permutation
0075-sort-colors
0080-remove-duplicates-from-sorted-array-ii
0167-two-sum-ii-input-array-is-sorted
0189-rotate-array
0283-move-zeroes
0287-find-the-duplicate-number
0344-reverse-string
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii
1019-squares-of-a-sorted-array
2231-find-first-palindromic-string-in-the-array
2271-rearrange-array-elements-by-sign

Binary Search

0167-two-sum-ii-input-array-is-sorted
0287-find-the-duplicate-number
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii
0367-valid-perfect-square
0713-subarray-product-less-than-k

Counting

0169-majority-element
1635-number-of-good-pairs

Sorting

0075-sort-colors
0169-majority-element
0349-intersection-of-two-arrays
0350-intersection-of-two-arrays-ii
1019-squares-of-a-sorted-array
1482-how-many-numbers-are-smaller-than-the-current-number
2836-neither-minimum-nor-maximum
3226-minimum-number-game

Counting Sort

1482-how-many-numbers-are-smaller-than-the-current-number

Prefix Sum

0560-subarray-sum-equals-k
0713-subarray-product-less-than-k
1833-find-the-highest-altitude

Sliding Window

0713-subarray-product-less-than-k

String

0344-reverse-string
0742-to-lower-case
2231-find-first-palindromic-string-in-the-array

Divide and Conquer

0053-maximum-subarray
0169-majority-element

Dynamic Programming

0053-maximum-subarray
0121-best-time-to-buy-and-sell-stock

Bit Manipulation

0136-single-number
0287-find-the-duplicate-number

Number Theory

0258-add-digits

Heap (Priority Queue)

3226-minimum-number-game

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published