@@ -34,7 +34,6 @@ implementation 'com.github.javadev:leetcode-in-kotlin:1.42'
3434> [ "For coding interview preparation, LeetCode is one of the best online resource providing a rich library of more than 300 real coding interview questions for you to practice from using one of the 7 supported languages - C, C++, Java, Python, C#, JavaScript, Ruby."] ( https://www.quora.com/How-effective-is-Leetcode-for-preparing-for-technical-interviews )
3535
3636##
37- * [ SQL I] ( #sql-i )
3837* [ Level 1] ( #level-1 )
3938* [ Level 2] ( #level-2 )
4039* [ Udemy] ( #udemy )
@@ -49,91 +48,7 @@ implementation 'com.github.javadev:leetcode-in-kotlin:1.42'
4948* [ Programming Skills I] ( #programming-skills-i )
5049* [ Programming Skills II] ( #programming-skills-ii )
5150* [ Graph Theory I] ( #graph-theory-i )
52-
53- ### SQL I
54-
55- #### Day 1 Select
56-
57- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
58- |-|-|-|-|-|-
59- | 0595 |[ Big Countries] ( src/main/kotlin/g0501_0600/s0595_big_countries/script.sql ) | Easy | Database | 417 | 56.09
60- | 1757 |[ Recyclable and Low Fat Products] ( src/main/kotlin/g1701_1800/s1757_recyclable_and_low_fat_products/script.sql ) | Easy | Database | 1237 | 34.20
61- | 0584 |[ Find Customer Referee] ( src/main/kotlin/g0501_0600/s0584_find_customer_referee/script.sql ) | Easy | Database | 779 | 43.48
62- | 0183 |[ Customers Who Never Order] ( src/main/kotlin/g0101_0200/s0183_customers_who_never_order/script.sql ) | Easy | Database | 712 | 33.67
63-
64- #### Day 2 Select and Order
65-
66- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
67- |-|-|-|-|-|-
68- | 1873 |[ Calculate Special Bonus] ( src/main/kotlin/g1801_1900/s1873_calculate_special_bonus/script.sql ) | Easy | Database | 1321 | 33.12
69- | 0627 |[ Swap Salary] ( src/main/kotlin/g0601_0700/s0627_swap_salary/script.sql ) | Easy | Database | 400 | 51.04
70- | 0196 |[ Delete Duplicate Emails] ( src/main/kotlin/g0101_0200/s0196_delete_duplicate_emails/script.sql ) | Easy | Database | 593 | 94.17
71-
72- #### Day 3 String Processing Functions
73-
74- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
75- |-|-|-|-|-|-
76- | 1667 |[ Fix Names in a Table] ( src/main/kotlin/g1601_1700/s1667_fix_names_in_a_table/script.sql ) | Easy | Database | 1196 | 61.40
77- | 1484 |[ Group Sold Products By The Date] ( src/main/kotlin/g1401_1500/s1484_group_sold_products_by_the_date/script.sql ) | Easy | LeetCode_Curated_SQL_70, Database | 899 | 40.76
78- | 1527 |[ Patients With a Condition] ( src/main/kotlin/g1501_1600/s1527_patients_with_a_condition/script.sql ) | Easy | Database | 708 | 48.23
79-
80- #### Day 4 Union and Select
81-
82- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
83- |-|-|-|-|-|-
84- | 1965 |[ Employees With Missing Information] ( src/main/kotlin/g1901_2000/s1965_employees_with_missing_information/script.sql ) | Easy | Database | 949 | 88.66
85- | 1795 |[ Rearrange Products Table] ( src/main/kotlin/g1701_1800/s1795_rearrange_products_table/script.sql ) | Easy | Database | 1027 | 67.57
86- | 0608 |[ Tree Node] ( src/main/kotlin/g0601_0700/s0608_tree_node/script.sql ) | Medium | LeetCode_Curated_SQL_70, Database | 794 | 48.38
87- | 0176 |[ Second Highest Salary] ( src/main/kotlin/g0101_0200/s0176_second_highest_salary/script.sql ) | Medium | Database | 219 | 92.54
88-
89- #### Day 5 Union
90-
91- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
92- |-|-|-|-|-|-
93- | 0175 |[ Combine Two Tables] ( src/main/kotlin/g0101_0200/s0175_combine_two_tables/script.sql ) | Easy | Database | 473 | 54.97
94- | 1581 |[ Customer Who Visited but Did Not Make Any Transactions] ( src/main/kotlin/g1501_1600/s1581_customer_who_visited_but_did_not_make_any_transactions/script.sql ) | Easy | Database | 2771 | 54.68
95- | 1148 |[ Article Views I] ( src/main/kotlin/g1101_1200/s1148_article_views_i/script.sql ) | Easy | LeetCode_Curated_SQL_70, Database | 806 | 54.41
96-
97- #### Day 6 Union
98-
99- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
100- |-|-|-|-|-|-
101- | 0197 |[ Rising Temperature] ( src/main/kotlin/g0101_0200/s0197_rising_temperature/script.sql ) | Easy | Database | 394 | 94.15
102- | 0607 |[ Sales Person] ( src/main/kotlin/g0601_0700/s0607_sales_person/script.sql ) | Easy | LeetCode_Curated_SQL_70, Database | 2142 | 44.56
103-
104- #### Day 7 Function
105-
106- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
107- |-|-|-|-|-|-
108- | 1141 |[ User Activity for the Past 30 Days I] ( src/main/kotlin/g1101_1200/s1141_user_activity_for_the_past_30_days_i/script.sql ) | Easy | LeetCode_Curated_SQL_70, Database | 790 | 87.11
109- | 1693 |[ Daily Leads and Partners] ( src/main/kotlin/g1601_1700/s1693_daily_leads_and_partners/script.sql ) | Easy | Database | 1115 | 52.84
110- | 1729 |[ Find Followers Count] ( src/main/kotlin/g1701_1800/s1729_find_followers_count/script.sql ) | Easy | Database | 1228 | 38.04
111-
112- #### Day 8 Function
113-
114- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
115- |-|-|-|-|-|-
116- | 0586 |[ Customer Placing the Largest Number of Orders] ( src/main/kotlin/g0501_0600/s0586_customer_placing_the_largest_number_of_orders/script.sql ) | Easy | LeetCode_Curated_SQL_70, Database | 768 | 44.85
117- | 0511 |[ Game Play Analysis I] ( src/main/kotlin/g0501_0600/s0511_game_play_analysis_i/script.sql ) | Easy | LeetCode_Curated_SQL_70, Database | 790 | 45.04
118- | 1890 |[ The Latest Login in 2020] ( src/main/kotlin/g1801_1900/s1890_the_latest_login_in_2020/script.sql ) | Easy | Database | 1280 | 43.62
119- | 1741 |[ Find Total Time Spent by Each Employee] ( src/main/kotlin/g1701_1800/s1741_find_total_time_spent_by_each_employee/script.sql ) | Easy | Database | 1101 | 51.40
120-
121- #### Day 9 Control of Flow
122-
123- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
124- |-|-|-|-|-|-
125- | 1393 |[ Capital Gain/Loss] ( src/main/kotlin/g1301_1400/s1393_capital_gainloss/script.sql ) | Medium | LeetCode_Curated_SQL_70, Database | 990 | 47.36
126- | 1407 |[ Top Travellers] ( src/main/kotlin/g1401_1500/s1407_top_travellers/script.sql ) | Easy | LeetCode_Curated_SQL_70, Database | 1394 | 98.43
127- | 1158 |[ Market Analysis I] ( src/main/kotlin/g1101_1200/s1158_market_analysis_i/script.sql ) | Medium | Database | 2470 | 44.76
128-
129- #### Day 10 Where
130-
131- | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
132- |-|-|-|-|-|-
133- | 0182 |[ Duplicate Emails] ( src/main/kotlin/g0101_0200/s0182_duplicate_emails/script.sql ) | Easy | Database | 396 | 68.40
134- | 1050 |[ Actors and Directors Who Cooperated At Least Three Times] ( src/main/kotlin/g1001_1100/s1050_actors_and_directors_who_cooperated_at_least_three_times/script.sql ) | Easy | LeetCode_Curated_SQL_70, Database | 629 | 81.02
135- | 1587 |[ Bank Account Summary II] ( src/main/kotlin/g1501_1600/s1587_bank_account_summary_ii/script.sql ) | Easy | Database | 1582 | 52.96
136- | 1084 |[ Sales Analysis III] ( src/main/kotlin/g1001_1100/s1084_sales_analysis_iii/script.sql ) | Easy | LeetCode_Curated_SQL_70, Database | 1881 | 79.36
51+ * [ SQL I] ( #sql-i )
13752
13853### Level 1
13954
@@ -2112,6 +2027,91 @@ implementation 'com.github.javadev:leetcode-in-kotlin:1.42'
21122027| 0886 |[ Possible Bipartition] ( src/main/kotlin/g0801_0900/s0886_possible_bipartition/Solution.kt ) | Medium | Depth_First_Search, Breadth_First_Search, Graph, Union_Find | 397 | 100.00
21132028| 0785 |[ Is Graph Bipartite?] ( src/main/kotlin/g0701_0800/s0785_is_graph_bipartite/Solution.kt ) | Medium | Depth_First_Search, Breadth_First_Search, Graph, Union_Find | 215 | 82.35
21142029
2030+ ### SQL I
2031+
2032+ #### Day 1 Select
2033+
2034+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
2035+ |-|-|-|-|-|-
2036+ | 0595 |[ Big Countries] ( src/main/kotlin/g0501_0600/s0595_big_countries/script.sql ) | Easy | Database | 417 | 56.09
2037+ | 1757 |[ Recyclable and Low Fat Products] ( src/main/kotlin/g1701_1800/s1757_recyclable_and_low_fat_products/script.sql ) | Easy | Database | 1237 | 34.20
2038+ | 0584 |[ Find Customer Referee] ( src/main/kotlin/g0501_0600/s0584_find_customer_referee/script.sql ) | Easy | Database | 779 | 43.48
2039+ | 0183 |[ Customers Who Never Order] ( src/main/kotlin/g0101_0200/s0183_customers_who_never_order/script.sql ) | Easy | Database | 712 | 33.67
2040+
2041+ #### Day 2 Select and Order
2042+
2043+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
2044+ |-|-|-|-|-|-
2045+ | 1873 |[ Calculate Special Bonus] ( src/main/kotlin/g1801_1900/s1873_calculate_special_bonus/script.sql ) | Easy | Database | 1321 | 33.12
2046+ | 0627 |[ Swap Salary] ( src/main/kotlin/g0601_0700/s0627_swap_salary/script.sql ) | Easy | Database | 400 | 51.04
2047+ | 0196 |[ Delete Duplicate Emails] ( src/main/kotlin/g0101_0200/s0196_delete_duplicate_emails/script.sql ) | Easy | Database | 593 | 94.17
2048+
2049+ #### Day 3 String Processing Functions
2050+
2051+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
2052+ |-|-|-|-|-|-
2053+ | 1667 |[ Fix Names in a Table] ( src/main/kotlin/g1601_1700/s1667_fix_names_in_a_table/script.sql ) | Easy | Database | 1196 | 61.40
2054+ | 1484 |[ Group Sold Products By The Date] ( src/main/kotlin/g1401_1500/s1484_group_sold_products_by_the_date/script.sql ) | Easy | LeetCode_Curated_SQL_70, Database | 899 | 40.76
2055+ | 1527 |[ Patients With a Condition] ( src/main/kotlin/g1501_1600/s1527_patients_with_a_condition/script.sql ) | Easy | Database | 708 | 48.23
2056+
2057+ #### Day 4 Union and Select
2058+
2059+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
2060+ |-|-|-|-|-|-
2061+ | 1965 |[ Employees With Missing Information] ( src/main/kotlin/g1901_2000/s1965_employees_with_missing_information/script.sql ) | Easy | Database | 949 | 88.66
2062+ | 1795 |[ Rearrange Products Table] ( src/main/kotlin/g1701_1800/s1795_rearrange_products_table/script.sql ) | Easy | Database | 1027 | 67.57
2063+ | 0608 |[ Tree Node] ( src/main/kotlin/g0601_0700/s0608_tree_node/script.sql ) | Medium | LeetCode_Curated_SQL_70, Database | 794 | 48.38
2064+ | 0176 |[ Second Highest Salary] ( src/main/kotlin/g0101_0200/s0176_second_highest_salary/script.sql ) | Medium | Database | 219 | 92.54
2065+
2066+ #### Day 5 Union
2067+
2068+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
2069+ |-|-|-|-|-|-
2070+ | 0175 |[ Combine Two Tables] ( src/main/kotlin/g0101_0200/s0175_combine_two_tables/script.sql ) | Easy | Database | 473 | 54.97
2071+ | 1581 |[ Customer Who Visited but Did Not Make Any Transactions] ( src/main/kotlin/g1501_1600/s1581_customer_who_visited_but_did_not_make_any_transactions/script.sql ) | Easy | Database | 2771 | 54.68
2072+ | 1148 |[ Article Views I] ( src/main/kotlin/g1101_1200/s1148_article_views_i/script.sql ) | Easy | LeetCode_Curated_SQL_70, Database | 806 | 54.41
2073+
2074+ #### Day 6 Union
2075+
2076+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
2077+ |-|-|-|-|-|-
2078+ | 0197 |[ Rising Temperature] ( src/main/kotlin/g0101_0200/s0197_rising_temperature/script.sql ) | Easy | Database | 394 | 94.15
2079+ | 0607 |[ Sales Person] ( src/main/kotlin/g0601_0700/s0607_sales_person/script.sql ) | Easy | LeetCode_Curated_SQL_70, Database | 2142 | 44.56
2080+
2081+ #### Day 7 Function
2082+
2083+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
2084+ |-|-|-|-|-|-
2085+ | 1141 |[ User Activity for the Past 30 Days I] ( src/main/kotlin/g1101_1200/s1141_user_activity_for_the_past_30_days_i/script.sql ) | Easy | LeetCode_Curated_SQL_70, Database | 790 | 87.11
2086+ | 1693 |[ Daily Leads and Partners] ( src/main/kotlin/g1601_1700/s1693_daily_leads_and_partners/script.sql ) | Easy | Database | 1115 | 52.84
2087+ | 1729 |[ Find Followers Count] ( src/main/kotlin/g1701_1800/s1729_find_followers_count/script.sql ) | Easy | Database | 1228 | 38.04
2088+
2089+ #### Day 8 Function
2090+
2091+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
2092+ |-|-|-|-|-|-
2093+ | 0586 |[ Customer Placing the Largest Number of Orders] ( src/main/kotlin/g0501_0600/s0586_customer_placing_the_largest_number_of_orders/script.sql ) | Easy | LeetCode_Curated_SQL_70, Database | 768 | 44.85
2094+ | 0511 |[ Game Play Analysis I] ( src/main/kotlin/g0501_0600/s0511_game_play_analysis_i/script.sql ) | Easy | LeetCode_Curated_SQL_70, Database | 790 | 45.04
2095+ | 1890 |[ The Latest Login in 2020] ( src/main/kotlin/g1801_1900/s1890_the_latest_login_in_2020/script.sql ) | Easy | Database | 1280 | 43.62
2096+ | 1741 |[ Find Total Time Spent by Each Employee] ( src/main/kotlin/g1701_1800/s1741_find_total_time_spent_by_each_employee/script.sql ) | Easy | Database | 1101 | 51.40
2097+
2098+ #### Day 9 Control of Flow
2099+
2100+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
2101+ |-|-|-|-|-|-
2102+ | 1393 |[ Capital Gain/Loss] ( src/main/kotlin/g1301_1400/s1393_capital_gainloss/script.sql ) | Medium | LeetCode_Curated_SQL_70, Database | 990 | 47.36
2103+ | 1407 |[ Top Travellers] ( src/main/kotlin/g1401_1500/s1407_top_travellers/script.sql ) | Easy | LeetCode_Curated_SQL_70, Database | 1394 | 98.43
2104+ | 1158 |[ Market Analysis I] ( src/main/kotlin/g1101_1200/s1158_market_analysis_i/script.sql ) | Medium | Database | 2470 | 44.76
2105+
2106+ #### Day 10 Where
2107+
2108+ | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- --> | <!-- -->
2109+ |-|-|-|-|-|-
2110+ | 0182 |[ Duplicate Emails] ( src/main/kotlin/g0101_0200/s0182_duplicate_emails/script.sql ) | Easy | Database | 396 | 68.40
2111+ | 1050 |[ Actors and Directors Who Cooperated At Least Three Times] ( src/main/kotlin/g1001_1100/s1050_actors_and_directors_who_cooperated_at_least_three_times/script.sql ) | Easy | LeetCode_Curated_SQL_70, Database | 629 | 81.02
2112+ | 1587 |[ Bank Account Summary II] ( src/main/kotlin/g1501_1600/s1587_bank_account_summary_ii/script.sql ) | Easy | Database | 1582 | 52.96
2113+ | 1084 |[ Sales Analysis III] ( src/main/kotlin/g1001_1100/s1084_sales_analysis_iii/script.sql ) | Easy | LeetCode_Curated_SQL_70, Database | 1881 | 79.36
2114+
21152115## Contributing
21162116Your ideas/fixes/algorithms are more than welcome!
21172117
0 commit comments