Skip to content

lshwa/LeetCode-Algorithm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

385 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode-Algorithm

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

LeetCode Topics

Array

0001-two-sum
0014-longest-common-prefix
0026-remove-duplicates-from-sorted-array
1470-shuffle-the-array
1512-number-of-good-pairs
1769-minimum-number-of-operations-to-move-all-balls-to-each-box
1863-sum-of-all-subset-xor-totals
1920-build-array-from-permutation
2011-final-value-of-variable-after-performing-operations
2044-count-number-of-maximum-bitwise-or-subsets
2058-concatenation-of-array
2161-partition-array-according-to-given-pivot
2942-find-words-containing-character
3190-find-minimum-operations-to-make-all-elements-divisible-by-three
3289-the-two-sneaky-numbers-of-digitville
3467-transform-array-by-parity
3512-minimum-operations-to-make-array-sum-divisible-by-k
3668-restore-finishing-order
3701-compute-alternating-sum

Hash Table

0001-two-sum
0013-roman-to-integer
0771-jewels-and-stones
1512-number-of-good-pairs
3289-the-two-sneaky-numbers-of-digitville
3541-find-most-frequent-vowel-and-consonant
3668-restore-finishing-order
3760-maximum-substrings-with-distinct-start

Math

0002-add-two-numbers
0009-palindrome-number
0013-roman-to-integer
0069-sqrtx
1512-number-of-good-pairs
1863-sum-of-all-subset-xor-totals
2235-add-two-integers
2396-strictly-palindromic-number
2556-convert-the-temperature
2769-find-the-maximum-achievable-number
2807-insert-greatest-common-divisors-in-linked-list
2894-divisible-and-non-divisible-sums-difference
3190-find-minimum-operations-to-make-all-elements-divisible-by-three
3289-the-two-sneaky-numbers-of-digitville
3512-minimum-operations-to-make-array-sum-divisible-by-k
3783-mirror-distance-of-an-integer

Binary Search

0069-sqrtx

Database

0175-combine-two-tables
0176-second-highest-salary
0177-nth-highest-salary
0182-duplicate-emails
0196-delete-duplicate-emails
0197-rising-temperature
0570-managers-with-at-least-5-direct-reports
0577-employee-bonus
0585-investments-in-2016
0586-customer-placing-the-largest-number-of-orders
0595-big-countries
0596-classes-with-at-least-5-students
0602-friend-requests-ii-who-has-the-most-friends
0607-sales-person
0610-triangle-judgement
0619-biggest-single-number
0620-not-boring-movies
0626-exchange-seats
0627-swap-salary
1050-actors-and-directors-who-cooperated-at-least-three-times
1141-user-activity-for-the-past-30-days-i
1148-article-views-i
1161-project-employees-i
1174-sales-analysis-iii
1211-queries-quality-and-percentage
1251-average-selling-price
1321-restaurant-growth
1393-capital-gainloss
1407-top-travellers
1462-list-the-products-ordered-in-a-period
1484-group-sold-products-by-the-date
1509-replace-employee-id-with-the-unique-identifier
1587-bank-account-summary-ii
1683-invalid-tweets
1693-daily-leads-and-partners
1741-find-total-time-spent-by-each-employee
1757-recyclable-and-low-fat-products
1795-rearrange-products-table
1890-the-latest-login-in-2020
2495-number-of-unique-subjects-taught-by-each-teacher
3475-dna-pattern-recognition

Simulation

1920-build-array-from-permutation
2011-final-value-of-variable-after-performing-operations
2058-concatenation-of-array
2161-partition-array-according-to-given-pivot
2181-merge-nodes-in-between-zeros
3701-compute-alternating-sum

String

0013-roman-to-integer
0014-longest-common-prefix
0058-length-of-last-word
0771-jewels-and-stones
1108-defanging-an-ip-address
1689-partitioning-into-minimum-number-of-deci-binary-numbers
1769-minimum-number-of-operations-to-move-all-balls-to-each-box
2011-final-value-of-variable-after-performing-operations
2942-find-words-containing-character
3379-score-of-a-string
3541-find-most-frequent-vowel-and-consonant
3760-maximum-substrings-with-distinct-start
3794-reverse-string-prefix

Trie

0014-longest-common-prefix

Linked List

0002-add-two-numbers
0021-merge-two-sorted-lists
2181-merge-nodes-in-between-zeros
2807-insert-greatest-common-divisors-in-linked-list

Recursion

0002-add-two-numbers
0021-merge-two-sorted-lists

Two Pointers

0026-remove-duplicates-from-sorted-array
2161-partition-array-according-to-given-pivot
2396-strictly-palindromic-number
3794-reverse-string-prefix

Number Theory

2807-insert-greatest-common-divisors-in-linked-list

Greedy

1689-partitioning-into-minimum-number-of-deci-binary-numbers

Brainteaser

2396-strictly-palindromic-number

Prefix Sum

1769-minimum-number-of-operations-to-move-all-balls-to-each-box

Backtracking

1863-sum-of-all-subset-xor-totals
2044-count-number-of-maximum-bitwise-or-subsets

Bit Manipulation

1863-sum-of-all-subset-xor-totals
2044-count-number-of-maximum-bitwise-or-subsets

Combinatorics

1863-sum-of-all-subset-xor-totals

Enumeration

1863-sum-of-all-subset-xor-totals
2044-count-number-of-maximum-bitwise-or-subsets

Counting

1512-number-of-good-pairs
3467-transform-array-by-parity
3541-find-most-frequent-vowel-and-consonant

Sorting

3467-transform-array-by-parity

About

A collection of LeetCode questions to ace the coding interview! - Created using [LeetHub v2](https://github.com/arunbhardwaj/LeetHub-2.0)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors