Skip to content

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

Notifications You must be signed in to change notification settings

passi3/leetcode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithm

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

Array

0001-two-sum
0026-remove-duplicates-from-sorted-array
0027-remove-element
0035-search-insert-position
0066-plus-one

Hash Table

0001-two-sum
0013-roman-to-integer

Math

0009-palindrome-number
0013-roman-to-integer
0066-plus-one

String

0013-roman-to-integer
0014-longest-common-prefix
0020-valid-parentheses
0028-find-the-index-of-the-first-occurrence-in-a-string

Trie

0014-longest-common-prefix

Stack

0020-valid-parentheses

Two Pointers

0026-remove-duplicates-from-sorted-array
0027-remove-element
0028-find-the-index-of-the-first-occurrence-in-a-string

String Matching

0028-find-the-index-of-the-first-occurrence-in-a-string
0058-length-of-last-word

Binary Search

0035-search-insert-position

LeetCode Topics

Math

0002-add-two-numbers
0067-add-binary
0069-sqrtx
0070-climbing-stairs
1635-number-of-good-pairs
1889-check-if-number-is-a-sum-of-powers-of-three
2383-add-two-integers
2491-smallest-even-multiple
2556-convert-the-temperature
2812-find-the-maximum-achievable-number
3172-divisible-and-non-divisible-sums-difference
3476-find-minimum-operations-to-make-all-elements-divisible-by-three
3567-convert-date-to-binary

Binary Search

0069-sqrtx

Linked List

0002-add-two-numbers
0021-merge-two-sorted-lists
0083-remove-duplicates-from-sorted-list
0141-linked-list-cycle

Recursion

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

Array

0001-two-sum
0088-merge-sorted-array
0108-convert-sorted-array-to-binary-search-tree
0118-pascals-triangle
0119-pascals-triangle-ii
0121-best-time-to-buy-and-sell-stock
0136-single-number
0169-majority-element
1580-shuffle-the-array
1635-number-of-good-pairs
1791-richest-customer-wealth
2058-concatenation-of-array
2137-final-value-of-variable-after-performing-operations
2454-largest-local-values-in-a-matrix
2876-number-of-employees-who-met-the-target
3194-find-words-containing-character
3476-find-minimum-operations-to-make-all-elements-divisible-by-three

Two Pointers

0088-merge-sorted-array
0125-valid-palindrome
0141-linked-list-cycle

Sorting

0088-merge-sorted-array
0169-majority-element

Tree

0094-binary-tree-inorder-traversal
0100-same-tree
0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0108-convert-sorted-array-to-binary-search-tree
0110-balanced-binary-tree
0111-minimum-depth-of-binary-tree
0112-path-sum
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal

Depth-First Search

0094-binary-tree-inorder-traversal
0100-same-tree
0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0110-balanced-binary-tree
0111-minimum-depth-of-binary-tree
0112-path-sum
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal

Breadth-First Search

0100-same-tree
0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0111-minimum-depth-of-binary-tree
0112-path-sum

Binary Tree

0094-binary-tree-inorder-traversal
0100-same-tree
0101-symmetric-tree
0104-maximum-depth-of-binary-tree
0108-convert-sorted-array-to-binary-search-tree
0110-balanced-binary-tree
0111-minimum-depth-of-binary-tree
0112-path-sum
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal

Divide and Conquer

0108-convert-sorted-array-to-binary-search-tree
0169-majority-element
0191-number-of-1-bits

Binary Search Tree

0108-convert-sorted-array-to-binary-search-tree

String

0067-add-binary
0125-valid-palindrome
0782-jewels-and-stones
1205-defanging-an-ip-address
2137-final-value-of-variable-after-performing-operations
3194-find-words-containing-character
3379-score-of-a-string
3412-permutation-difference-between-two-strings
3567-convert-date-to-binary

Bit Manipulation

0067-add-binary
0136-single-number
0191-number-of-1-bits

Simulation

0067-add-binary
1708-design-parking-system
2058-concatenation-of-array
2137-final-value-of-variable-after-performing-operations

Dynamic Programming

0070-climbing-stairs
0118-pascals-triangle
0119-pascals-triangle-ii
0121-best-time-to-buy-and-sell-stock

Memoization

0070-climbing-stairs

Stack

0094-binary-tree-inorder-traversal
0144-binary-tree-preorder-traversal
0145-binary-tree-postorder-traversal

Hash Table

0001-two-sum
0141-linked-list-cycle
0169-majority-element
0782-jewels-and-stones
1635-number-of-good-pairs
3412-permutation-difference-between-two-strings

Counting

0169-majority-element
1635-number-of-good-pairs
1708-design-parking-system

Database

0175-combine-two-tables
0176-second-highest-salary
0177-nth-highest-salary
0178-rank-scores
0180-consecutive-numbers
0181-employees-earning-more-than-their-managers
0182-duplicate-emails
0183-customers-who-never-order
0184-department-highest-salary
0196-delete-duplicate-emails
0197-rising-temperature
0570-managers-with-at-least-5-direct-reports
0577-employee-bonus
0584-find-customer-referee
0585-investments-in-2016
0586-customer-placing-the-largest-number-of-orders
0595-big-countries
0596-classes-more-than-5-students
0602-friend-requests-ii-who-has-the-most-friends
0607-sales-person
0608-tree-node
0610-triangle-judgement
0619-biggest-single-number
0620-not-boring-movies
0626-exchange-seats
0627-swap-salary
1135-customers-who-bought-all-products
1136-actors-and-directors-who-cooperated-at-least-three-times
1153-product-sales-analysis-i
1161-project-employees-i
1174-sales-analysis-iii
1179-game-play-analysis-i
1182-game-play-analysis-iv
1245-user-activity-for-the-past-30-days-i
1258-article-views-i
1268-market-analysis-i
1278-product-price-at-a-given-date
1292-immediate-food-delivery-ii
1301-reformat-department-table
1317-monthly-transactions-i
1327-last-person-to-fit-in-the-bus
1338-queries-quality-and-percentage
1390-average-selling-price
1415-students-and-examinations
1452-restaurant-growth
1462-list-the-products-ordered-in-a-period
1480-movie-rating
1509-replace-employee-id-with-the-unique-identifier
1523-capital-gainloss
1541-top-travellers
1625-group-sold-products-by-the-date
1664-find-users-with-valid-e-mails
1670-patients-with-a-condition
1724-customer-who-visited-but-did-not-make-any-transactions
1734-bank-account-summary-ii
1773-percentage-of-users-attended-a-contest
1801-average-time-of-process-per-machine
1811-fix-names-in-a-table
1827-invalid-tweets
1837-daily-leads-and-partners
1877-find-followers-count
1882-the-number-of-employees-which-report-to-each-employee
1892-find-total-time-spent-by-each-employee
1908-recyclable-and-low-fat-products
1942-primary-department-for-each-employee
1948-rearrange-products-table
2024-calculate-special-bonus
2041-the-latest-login-in-2020
2057-count-salary-categories
2087-confirmation-rate
2110-employees-with-missing-information
2127-employees-whose-manager-left-the-company
2495-number-of-unique-subjects-taught-by-each-teacher
3530-odd-and-even-transactions
3767-find-students-who-improved
3803-find-products-with-valid-serial-numbers

Matrix

1791-richest-customer-wealth
2454-largest-local-values-in-a-matrix

Number Theory

2491-smallest-even-multiple

Design

1708-design-parking-system

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

No packages published

Languages