Skip to content

Orshitha16/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

Math

0009-palindrome-number
0050-powx-n
0069-sqrtx
0172-factorial-trailing-zeroes
0202-happy-number
0231-power-of-two
0258-add-digits
0268-missing-number
0326-power-of-three
0342-power-of-four
0367-valid-perfect-square
0371-sum-of-two-integers
0507-perfect-number
0728-self-dividing-numbers
0909-stone-game
1013-fibonacci-number
1421-find-numbers-with-even-number-of-digits
1444-number-of-steps-to-reduce-a-number-to-zero
1585-the-kth-factor-of-n
1630-count-odd-numbers-in-an-interval-range
1635-number-of-good-pairs
1950-sign-of-the-product-of-an-array
2083-three-divisors
2106-find-greatest-common-divisor-of-array
2238-a-number-after-a-double-reversal
2298-count-integers-with-even-digit-sum
2383-add-two-integers
2491-smallest-even-multiple
2507-number-of-common-factors
2542-average-value-of-even-numbers-that-are-divisible-by-three
2556-convert-the-temperature
2630-alternating-digit-sum
2752-sum-multiples
3172-divisible-and-non-divisible-sums-difference
3371-harshad-number
3515-find-if-digit-game-can-be-won
3581-the-two-sneaky-numbers-of-digitville
3606-minimum-element-after-replacement-with-digit-sum
3869-smallest-index-with-digit-sum-equal-to-index
3918-check-divisibility-by-digit-sum-and-product

Binary Search

0069-sqrtx
0074-search-a-2d-matrix
0153-find-minimum-in-rotated-sorted-array
0154-find-minimum-in-rotated-sorted-array-ii
0162-find-peak-element
0268-missing-number
0367-valid-perfect-square
0792-binary-search
2614-maximum-count-of-positive-integer-and-negative-integer
3790-fruits-into-baskets-ii

Array

0001-two-sum
0026-remove-duplicates-from-sorted-array
0027-remove-element
0074-search-a-2d-matrix
0075-sort-colors
0136-single-number
0137-single-number-ii
0153-find-minimum-in-rotated-sorted-array
0154-find-minimum-in-rotated-sorted-array-ii
0162-find-peak-element
0217-contains-duplicate
0260-single-number-iii
0268-missing-number
0748-largest-number-at-least-twice-of-others
0792-binary-search
0909-stone-game
0932-monotonic-array
0958-sort-array-by-parity-ii
1019-squares-of-a-sorted-array
1137-height-checker
1421-find-numbers-with-even-number-of-digits
1482-how-many-numbers-are-smaller-than-the-current-number
1574-maximum-product-of-two-elements-in-an-array
1584-average-salary-excluding-the-minimum-and-maximum-salary
1635-number-of-good-pairs
1791-richest-customer-wealth
1833-find-the-highest-altitude
1950-sign-of-the-product-of-an-array
2106-find-greatest-common-divisor-of-array
2181-smallest-index-with-equal-value
2265-partition-array-according-to-given-pivot
2271-rearrange-array-elements-by-sign
2283-sort-even-and-odd-indices-independently
2442-number-of-arithmetic-triplets
2542-average-value-of-even-numbers-that-are-divisible-by-three
2614-maximum-count-of-positive-integer-and-negative-integer
2844-sum-of-squares-of-special-elements
2876-number-of-employees-who-met-the-target
3421-count-pairs-that-form-a-complete-day-i
3515-find-if-digit-game-can-be-won
3581-the-two-sneaky-numbers-of-digitville
3606-minimum-element-after-replacement-with-digit-sum
3790-fruits-into-baskets-ii
3869-smallest-index-with-digit-sum-equal-to-index

Hash Table

0001-two-sum
0202-happy-number
0217-contains-duplicate
0242-valid-anagram
0268-missing-number
1363-greatest-english-letter-in-upper-and-lower-case
1482-how-many-numbers-are-smaller-than-the-current-number
1635-number-of-good-pairs
2442-number-of-arithmetic-triplets
3408-count-the-number-of-special-characters-i
3421-count-pairs-that-form-a-complete-day-i
3581-the-two-sneaky-numbers-of-digitville

Two Pointers

0026-remove-duplicates-from-sorted-array
0027-remove-element
0075-sort-colors
0151-reverse-words-in-a-string
0202-happy-number
0344-reverse-string
0958-sort-array-by-parity-ii
1019-squares-of-a-sorted-array
2265-partition-array-according-to-given-pivot
2271-rearrange-array-elements-by-sign
2442-number-of-arithmetic-triplets

Bit Manipulation

0136-single-number
0137-single-number-ii
0231-power-of-two
0260-single-number-iii
0268-missing-number
0342-power-of-four
0371-sum-of-two-integers
1444-number-of-steps-to-reduce-a-number-to-zero

Simulation

0258-add-digits
0657-robot-return-to-origin
2265-partition-array-according-to-given-pivot
2271-rearrange-array-elements-by-sign
2298-count-integers-with-even-digit-sum
3790-fruits-into-baskets-ii

Number Theory

0258-add-digits
1585-the-kth-factor-of-n
2083-three-divisors
2106-find-greatest-common-divisor-of-array
2491-smallest-even-multiple
2507-number-of-common-factors

Sorting

0075-sort-colors
0217-contains-duplicate
0242-valid-anagram
0268-missing-number
0748-largest-number-at-least-twice-of-others
0958-sort-array-by-parity-ii
1019-squares-of-a-sorted-array
1137-height-checker
1482-how-many-numbers-are-smaller-than-the-current-number
1574-maximum-product-of-two-elements-in-an-array
1584-average-salary-excluding-the-minimum-and-maximum-salary
2283-sort-even-and-odd-indices-independently

String

0151-reverse-words-in-a-string
0242-valid-anagram
0344-reverse-string
0551-student-attendance-record-i
0657-robot-return-to-origin
0742-to-lower-case
1302-delete-characters-to-make-fancy-string
1363-greatest-english-letter-in-upper-and-lower-case
1823-determine-if-string-halves-are-alike
3408-count-the-number-of-special-characters-i
3636-check-balanced-string

Counting

1635-number-of-good-pairs
1823-determine-if-string-halves-are-alike
2614-maximum-count-of-positive-integer-and-negative-integer
3421-count-pairs-that-form-a-complete-day-i

Matrix

0074-search-a-2d-matrix
1791-richest-customer-wealth

Recursion

0050-powx-n
0231-power-of-two
0326-power-of-three
0342-power-of-four
1013-fibonacci-number

Dynamic Programming

0909-stone-game
1013-fibonacci-number

Memoization

1013-fibonacci-number

Enumeration

1363-greatest-english-letter-in-upper-and-lower-case
2083-three-divisors
2442-number-of-arithmetic-triplets
2507-number-of-common-factors
2844-sum-of-squares-of-special-elements

Counting Sort

1137-height-checker
1482-how-many-numbers-are-smaller-than-the-current-number

Heap (Priority Queue)

1574-maximum-product-of-two-elements-in-an-array

Game Theory

0909-stone-game

Prefix Sum

1833-find-the-highest-altitude

Segment Tree

3790-fruits-into-baskets-ii

Ordered Set

3790-fruits-into-baskets-ii

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published