Course Schedule, Longest Increasing Path in a Matrix and Alien Dictionary. Note that some of the tree problems can also be asked in n-ary tree format, so make sure you know what an n-ary tree is. Note: The last problem may be quite tricky to solve, so feel free to skip that one....
Complete the payment of $99 for the premium subscription. Get 50 people or more in your school to sign up for LeetCode. LeetCode will activate your Premium subscription plan and apply the discount once 50 students have registered for the LeetCode premium plan at your school. ...
1280 Students and Examinations * $ 74.60% Easy 1279 Traffic Light Controlled Intersection ~ $ 75.30% Easy 1278 Palindrome Partitioning III 60.90% Hard 1277 Count Square Submatrices with All Ones 74.20% Medium 1276 Number of Burgers with No Waste of Ingredients 50.60% Medium 1275 Find Winner on ...
2512 Reward Top K Students C++ Python O(pf * l + nf * l + n * l + klogk) O(pf * l + nf * l + n) Medium Partial Sort, Quick Select 2545 Sort the Students by Their Kth Score C++ Python O(mlogm) O(1) Medium Sort 2659 Make Array Empty C++ Python O(nlogn) O(n) Hard...
Premium #TitleDifficulty#TitleDifficulty 243 Shortest Word Distance (E) 900 244 Shortest Word Distance II (M-) 1400 245 Shortest Word Distance III (M-) 1300 246 Strobogrammatic Number (E) 900 247 Strobogrammatic Number II (M) 1500 248 Strobogrammatic Number III (H-) 1700 250 Count Uni...
2545 Sort the Students by Their Kth Score C++ Python O(mlogm) O(1) Medium Sort 2659 Make Array Empty C++ Python O(nlogn) O(n) Hard Sort, BIT, Fenwick Tree 2679 Sum in a Matrix C++ Python O(m * nlogn) O(1) Medium Sort 2740 Find the Value of the Partition C++ Python O(nlog...
For more challenging problem solutions, you can also see my GoogleCodeJam, MetaHackerCup repositories. Hope you enjoy the journey of learning data structures and algorithms. Notes: "🔒" means your subscription of LeetCode premium membership is required for reading the question. Solutions 0001 - ...
1280 Students and Examinations 72.1% Easy 1281 Subtract the Product and Sum of Digits of an Integer Go 85.2% Easy 1282 Group the People Given the Group Size They Belong To 83.9% Medium 1283 Find the Smallest Divisor Given a Threshold Go 47.6% Medium 1284 Minimum Number of Flips to ...
Premium Support Enterprise-grade 24/7 support Pricing Search or jump to... Search code, repositories, users, issues, pull requests... Provide feedback We read every piece of feedback, and take your input very seriously. Include my email address so I can be contacted Cancel Submit feed...
Course Schedule, Longest Increasing Path in a Matrix and Alien Dictionary. Note that some of the tree problems can also be asked in n-ary tree format, so make sure you know what an n-ary tree is. Note: The last problem may be quite tricky to solve, so feel free to skip that one....