Skip to content

** Especially SQL ** Coding Practice - LeetCode, Automatically Sync

Notifications You must be signed in to change notification settings

dohyun96305/Coding_LeetCode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coding_LeetCode

Coding Practice - LeetCode, Automatically Sync

LeetCode Topics

Array

0041-first-missing-positive
0042-trapping-rain-water
0078-subsets
0079-word-search
0140-word-break-ii
0154-find-minimum-in-rotated-sorted-array-ii
0200-number-of-islands
0287-find-the-duplicate-number
0624-maximum-distance-in-arrays
0675-cut-off-trees-for-golf-event
0753-open-the-lock
0802-k-th-smallest-prime-fraction
0870-magic-squares-in-grid
0876-hand-of-straights
0917-boats-to-save-people
0982-minimum-increment-to-make-array-unique
1217-relative-sort-array
1331-path-with-maximum-gold
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
1675-magnetic-force-between-two-balls
1803-average-waiting-time
2006-find-the-student-that-will-replace-the-chalk
2056-jump-game-viii
2232-adding-spaces-to-a-string
2552-maximum-sum-of-distinct-subarrays-with-length-k
2634-minimum-common-value
2755-extra-characters-in-a-string
3351-maximize-happiness-of-selected-children

Two Pointers

0042-trapping-rain-water
0287-find-the-duplicate-number
0802-k-th-smallest-prime-fraction
0917-boats-to-save-people
2232-adding-spaces-to-a-string
2468-valid-palindrome-iv
2634-minimum-common-value

Binary Search

0154-find-minimum-in-rotated-sorted-array-ii
0287-find-the-duplicate-number
0802-k-th-smallest-prime-fraction
1321-get-equal-substrings-within-budget
1675-magnetic-force-between-two-balls
2006-find-the-student-that-will-replace-the-chalk
2634-minimum-common-value

Bit Manipulation

0078-subsets
0287-find-the-duplicate-number

Backtracking

0078-subsets
0079-word-search
0140-word-break-ii
1331-path-with-maximum-gold

Matrix

0079-word-search
0200-number-of-islands
0675-cut-off-trees-for-golf-event
0870-magic-squares-in-grid
1331-path-with-maximum-gold

Hash Table

0041-first-missing-positive
0140-word-break-ii
0409-longest-palindrome
0753-open-the-lock
0807-custom-sort-string
0870-magic-squares-in-grid
0876-hand-of-straights
1217-relative-sort-array
2552-maximum-sum-of-distinct-subarrays-with-length-k
2634-minimum-common-value
2755-extra-characters-in-a-string

Greedy

0409-longest-palindrome
0624-maximum-distance-in-arrays
0876-hand-of-straights
0917-boats-to-save-people
0982-minimum-increment-to-make-array-unique
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
2379-maximum-total-importance-of-roads
3351-maximize-happiness-of-selected-children

Sorting

0802-k-th-smallest-prime-fraction
0807-custom-sort-string
0876-hand-of-straights
0917-boats-to-save-people
0982-minimum-increment-to-make-array-unique
1217-relative-sort-array
1616-minimum-difference-between-largest-and-smallest-value-in-three-moves
1675-magnetic-force-between-two-balls
2379-maximum-total-importance-of-roads
3351-maximize-happiness-of-selected-children

Counting

0982-minimum-increment-to-make-array-unique

Linked List

2182-find-the-minimum-and-maximum-number-of-nodes-between-critical-points

Breadth-First Search

0200-number-of-islands
0675-cut-off-trees-for-golf-event
0753-open-the-lock

Heap (Priority Queue)

0675-cut-off-trees-for-golf-event
0802-k-th-smallest-prime-fraction
2379-maximum-total-importance-of-roads

Dynamic Programming

0042-trapping-rain-water
0140-word-break-ii
1676-minimum-number-of-days-to-eat-n-oranges
2056-jump-game-viii
2755-extra-characters-in-a-string

Memoization

0140-word-break-ii
1676-minimum-number-of-days-to-eat-n-oranges

String

0079-word-search
0140-word-break-ii
0409-longest-palindrome
0592-fraction-addition-and-subtraction
0753-open-the-lock
0807-custom-sort-string
1321-get-equal-substrings-within-budget
1371-minimum-remove-to-make-valid-parentheses
2232-adding-spaces-to-a-string
2468-valid-palindrome-iv
2755-extra-characters-in-a-string

Simulation

0592-fraction-addition-and-subtraction
1642-water-bottles
1803-average-waiting-time
2006-find-the-student-that-will-replace-the-chalk
2232-adding-spaces-to-a-string
2645-pass-the-pillow

Math

0592-fraction-addition-and-subtraction
0870-magic-squares-in-grid
1642-water-bottles
2645-pass-the-pillow

Graph

1916-find-center-of-star-graph
2056-jump-game-viii
2379-maximum-total-importance-of-roads

Stack

0042-trapping-rain-water
1371-minimum-remove-to-make-valid-parentheses
2056-jump-game-viii

Counting Sort

1217-relative-sort-array

Trie

0140-word-break-ii
2755-extra-characters-in-a-string

Database

0176-second-highest-salary
0177-nth-highest-salary
0178-rank-scores
0183-customers-who-never-order
0185-department-top-three-salaries
0196-delete-duplicate-emails
0262-trips-and-users
0569-median-employee-salary
0571-find-median-given-frequency-of-numbers
0578-get-highest-answer-rate-question
0579-find-cumulative-salary-of-an-employee
0580-count-student-number-in-departments
0584-find-customer-referee
0585-investments-in-2016
0586-customer-placing-the-largest-number-of-orders
0595-big-countries
0597-friend-requests-i-overall-acceptance-rate
0601-human-traffic-of-stadium
0602-friend-requests-ii-who-has-the-most-friends
0603-consecutive-available-seats
0610-triangle-judgement
0612-shortest-distance-in-a-plane
0613-shortest-distance-in-a-line
0614-second-degree-follower
0615-average-salary-departments-vs-company
0618-students-report-by-geography
0619-biggest-single-number
0626-exchange-seats
1135-customers-who-bought-all-products
1154-product-sales-analysis-ii
1163-project-employees-iii
1172-sales-analysis-i
1173-sales-analysis-ii
1181-game-play-analysis-iii
1182-game-play-analysis-iv
1193-game-play-analysis-v
1198-unpopular-books
1204-new-users-daily-count
1214-highest-grade-for-each-student
1215-reported-posts
1225-active-businesses
1226-user-purchase-platform
1237-reported-posts-ii
1246-user-activity-for-the-past-30-days-ii
1258-article-views-i
1259-article-views-ii
1269-market-analysis-ii
1318-tournament-winners
1328-monthly-transactions-ii
1339-team-scores-in-football-tournament
1377-number-of-comments-per-post
1405-all-people-report-to-the-given-manager
1415-students-and-examinations
1420-find-the-start-and-end-number-of-continuous-ranges
1425-weather-type-in-each-country
1438-find-the-team-size
1439-running-total-for-different-genders
1452-restaurant-growth
1453-ads-performance
1462-list-the-products-ordered-in-a-period
1467-number-of-transactions-per-visit
1480-movie-rating
1494-activity-participants
1495-number-of-trusted-contacts-of-a-customer
1504-get-the-second-most-recent-activity
1523-capital-gainloss
1541-top-travellers
1546-find-the-quiet-students-in-all-exams
1551-npv-queries
1565-evaluate-boolean-expression
1579-active-users
1607-rectangles-area
1608-calculate-salaries
1623-sales-by-day-of-the-week
1625-group-sold-products-by-the-date
1639-friendly-movies-streamed-last-month
1641-countries-you-can-safely-invest-in
1654-customer-order-frequency
1664-find-users-with-valid-e-mails
1670-patients-with-a-condition
1671-the-most-recent-three-orders
1688-the-most-recent-orders-for-each-product
1702-bank-account-summary
1712-unique-orders-and-customers-per-month
1718-warehouse-manager
1734-bank-account-summary-ii
1735-the-most-frequently-ordered-products-for-each-customer
1749-sellers-with-no-sales
1759-find-the-missing-ids
1763-all-valid-triplets-that-can-represent-a-country
1779-hopper-company-queries-i
1785-hopper-company-queries-ii
1795-hopper-company-queries-iii
1811-fix-names-in-a-table
1821-products-worth-over-invoices
1837-daily-leads-and-partners
1842-number-of-calls-between-two-persons
1852-biggest-window-between-visits
1862-count-apples-and-oranges
1898-leetflex-banned-accounts
1908-recyclable-and-low-fat-products
1914-find-the-subtasks-that-did-not-execute
1932-grand-slam-titles
1958-ad-free-sessions
1964-find-interview-candidates
1974-find-customers-with-positive-revenue-this-year
1991-league-statistics
1998-suspicious-bank-accounts
2004-convert-date-format
2014-orders-with-maximum-quantity-above-average
2030-group-employees-of-the-same-salary
2041-the-latest-login-in-2020
2046-page-recommendations-ii
2063-leetcodify-friends-recommendations
2064-leetcodify-similar-friends
2087-confirmation-rate
2097-strong-friendship
2098-all-the-pairs-with-the-maximum-number-of-common-followers
2120-first-and-last-call-on-the-same-day
2127-employees-whose-manager-left-the-company
2136-find-cutoff-score-for-each-school
2143-count-the-number-of-experiments
2167-number-of-accounts-that-did-not-stream
2172-low-quality-problems
2185-accepted-candidates-from-the-interviews
2208-account-balance
2214-the-winner-university
2224-drop-type-1-orders-for-customers-with-type-0-orders
2253-build-the-equation
2281-the-number-of-passengers-in-each-bus-i
2302-order-two-columns-independently
2315-the-change-in-global-rankings
2335-finding-the-topic-of-each-post
2336-the-number-of-users-that-are-eligible-for-discount
2370-users-with-two-purchases-within-seven-days
2371-the-users-that-are-eligible-for-discount
2431-products-with-three-or-more-orders-in-two-consecutive-years
2440-tasks-count-in-the-weekend
2446-the-first-day-of-the-maximum-recorded-degree-in-each-city
2453-all-the-matches-of-the-league
2484-compute-the-rank-as-a-percentage
2495-number-of-unique-subjects-taught-by-each-teacher
2501-generate-the-invoice
2515-calculate-the-influence-of-each-salesperson
2516-sort-the-olympic-table
2523-change-null-values-in-a-table-to-the-previous-value
2534-employees-with-deductions
2613-customers-with-strictly-increasing-purchases
2643-concatenate-the-name-and-the-profession
2830-count-artist-occurrences-on-spotify-ranking-list
2841-bikes-last-time-used
2842-find-active-users
2853-consecutive-transactions-with-increasing-amounts
3002-flight-occupancy-and-waitlist-analysis
3097-total-traveled-distance
3156-rolling-average-steps
3160-calculate-orders-within-each-interval
3205-market-analysis-iii
3253-symmetric-coordinates
3257-maximize-items
3281-find-peak-calling-hours-for-each-city
3282-calculate-compressed-mean
3283-find-third-transaction
3284-find-expensive-cities
3285-manager-of-the-largest-department
3286-class-performance
3287-loan-types
3300-friday-purchases-i
3301-friday-purchases-ii
3302-viewers-turned-streamers
3340-snaps-analysis
3357-employees-project-allocation
3358-friends-with-no-mutual-friends
3424-friday-purchase-iii
3440-server-utilization-time
3448-consecutive-available-seats-ii
3488-find-top-scoring-students
3505-find-cities-in-each-state
3512-bitwise-user-permissions-analysis
3520-year-on-year-growth-rate
3530-odd-and-even-transactions
3549-ceo-subordinate-hierarchy
3554-premier-league-table-ranking
3564-premier-league-table-ranking-ii
3609-calculate-product-final-price

Monotonic Stack

0042-trapping-rain-water
2056-jump-game-viii

Shortest Path

2056-jump-game-viii

Prefix Sum

1321-get-equal-substrings-within-budget
2006-find-the-student-that-will-replace-the-chalk

Sliding Window

1321-get-equal-substrings-within-budget
2552-maximum-sum-of-distinct-subarrays-with-length-k

Depth-First Search

0200-number-of-islands

Union Find

0200-number-of-islands

About

** Especially SQL ** Coding Practice - LeetCode, Automatically Sync

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages