Skip to content

A leetcode crawler built with selenium and requests. Generate a revision guide for your coding interview

Notifications You must be signed in to change notification settings

HUANGXUANKUN/leetcode-summary-crawler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

46 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Generate a summary of your solved problems sorted by last accepted submission.

Re-attempt problems solved long ago or with low accuracy.

Spaced-repetition is the best way to learn. Re-attempt solved problems for better understanding.

User Guide

Requirements

  1. Install python 3.6 and above

  2. Install packages selenium and requests, you may run pip install -r requirements.txt

How to use

  1. In config.cfg, enter Leetcode username and password

  2. Download chromedriver.exe and place it in the sub-directory /drivers

  3. Run python generator.py

What you might need

  • typora: A lightweight markdown reader

Leetcode Summary Sample

Update time: 2019-12-31 17:07:12

I have solved 122 / 1307 problems

Id Problem ❓ Lang Difficulty Accuracy
πŸ“† This week
34 Find First and Last Position of Element in... Cpp Medium 60% πŸ˜„
208 Implement Trie (Prefix Tree) Cpp Medium 100% πŸ˜„
210 Course Schedule II Cpp Medium 70% πŸ˜„
271 Encode and Decode Strings Cpp Medium 85% πŸ˜„
274 H-Index Cpp Medium 40% 😑
275 H-Index II Cpp Medium 71% πŸ˜„
640 Solve the Equation Cpp Medium 70% πŸ˜„
646 Maximum Length of Pair Chain Cpp Medium 76% πŸ˜„
647 Palindromic Substrings Cpp Medium 100% πŸ˜„
648 Replace Words Cpp Medium 63% πŸ˜„
649 Dota2 Senate Cpp Medium 70% πŸ˜„
650 2 Keys Keyboard Cpp Medium 70% πŸ˜„
988 Flip Equivalent Binary Trees Cpp Medium 85% πŸ˜„
πŸ“† Last week
1 Two Sum Cpp Easy 60% πŸ˜„
2 Add Two Numbers Cpp Medium 66% πŸ˜„
3 Longest Substring Without Repeating Characters Cpp Medium 68% πŸ˜„
5 Longest Palindromic Substring Cpp Medium 70% πŸ˜„
6 ZigZag Conversion Cpp Medium 88% πŸ˜„
238 Product of Array Except Self Cpp Medium 72% πŸ˜„
247 Strobogrammatic Number II Cpp Medium 100% πŸ˜„
250 Count Univalue Subtrees Cpp Medium 80% πŸ˜„
257 Binary Tree Paths Cpp Easy 100% πŸ˜„
269 Alien Dictionary Cpp Hard 40% 😑
273 Integer to English Words Cpp Hard 36% 😑
278 First Bad Version Cpp Easy 66% πŸ˜„
282 Expression Add Operators Cpp Hard 58% πŸ˜„
283 Move Zeroes Cpp Easy 90% πŸ˜„
680 Valid Palindrome II Cpp Easy 60% πŸ˜„
721 Accounts Merge Cpp Medium 88% πŸ˜„
724 Find Pivot Index Cpp Easy 85% πŸ˜„
733 Flood Fill Cpp Easy 85% πŸ˜„
739 Daily Temperatures Cpp Medium 100% πŸ˜„
748 Largest Number At Least Twice of Others Cpp Easy 83% πŸ˜„
1423 Maximum Number of Occurrences of a Substring Cpp Medium 33% 😑
1424 Maximum Candies You Can Get from Boxes Cpp Hard 100% πŸ˜„
πŸ“† 2 weeks ago
7 Reverse Integer Cpp Easy 40% 😑
9 Palindrome Number Cpp Easy 100% πŸ˜„
35 Search Insert Position Cpp Easy 71% πŸ˜„
38 Count and Say Cpp Easy 83% πŸ˜„
53 Maximum Subarray Cpp Easy 100% πŸ˜„
58 Length of Last Word Cpp Easy 71% πŸ˜„
69 Sqrt(x) Cpp Easy 42% 😑
70 Climbing Stairs Cpp Easy 100% πŸ˜„
83 Remove Duplicates from Sorted List Cpp Easy 66% πŸ˜„
100 Same Tree Cpp Easy 83% πŸ˜„
107 Binary Tree Level Order Traversal II Cpp Easy 75% πŸ˜„
108 Convert Sorted Array to Binary Search Tree Cpp Easy 100% πŸ˜„
110 Balanced Binary Tree Cpp Easy 60% πŸ˜„
111 Minimum Depth of Binary Tree Cpp Easy 62% πŸ˜„
1400 Find Winner on a Tic Tac Toe Game Cpp Easy 50% πŸ˜„
1401 Number of Burgers with No Waste of Ingredients Cpp Medium 50% πŸ˜„
1402 Count Square Submatrices with All Ones Cpp Medium 100% πŸ˜„
1404 Print Immutable Linked List in Reverse Cpp Medium 100% πŸ˜„
1407 Group the People Given the Group Size They... Cpp Medium 100% πŸ˜„
1408 Find the Smallest Divisor Given a Threshold Cpp Medium 100% πŸ˜„
1410 Traffic Light Controlled Intersection Cpp Easy 50% πŸ˜„
πŸ“† 3 weeks ago
511 All Paths from Source Lead to Destination Cpp Medium 66% πŸ˜„
635 Design Log Storage System Cpp Medium 71% πŸ˜„
868 Push Dominoes Cpp Medium 50% πŸ˜„
991 Array of Doubled Pairs Cpp Medium 76% πŸ˜„
992 Delete Columns to Make Sorted II Cpp Medium 60% πŸ˜„
994 Prison Cells After N Days Cpp Medium 100% πŸ˜„
998 Check Completeness of a Binary Tree Cpp Medium 41% 😑
999 Regions Cut By Slashes Cpp Medium 63% πŸ˜„
1002 Maximum Width Ramp Cpp Medium 71% πŸ˜„
1003 Minimum Area Rectangle II Cpp Medium 66% πŸ˜„
1006 Vowel Spellchecker Cpp Medium 71% πŸ˜„
1281 Can Make Palindrome from Substring Cpp Medium 62% πŸ˜„
1288 Maximum Subarray Sum with One Deletion Cpp Medium 30% 😑
1298 Reverse Substrings Between Each Pair of... Cpp Medium 50% πŸ˜„
1299 K-Concatenation Maximum Sum Cpp Medium 42% 😑
1307 Ugly Number III Cpp Medium 50% πŸ˜„
1316 Fizz Buzz Multithreaded Cpp Medium 100% πŸ˜„
πŸ“† 1 month ago
4 Median of Two Sorted Arrays Cpp Hard 40% 😑
23 Merge k Sorted Lists Cpp Hard 88% πŸ˜„
25 Reverse Nodes in k-Group Cpp Hard 75% πŸ˜„
30 Substring with Concatenation of All Words Cpp Hard 60% πŸ˜„
37 Sudoku Solver Cpp Hard 85% πŸ˜„
321 Create Maximum Number Cpp Hard 57% πŸ˜„
327 Count of Range Sum Cpp Hard 46% 😑
328 Odd Even Linked List Cpp Medium 88% πŸ˜„
329 Longest Increasing Path in a Matrix Cpp Hard 50% πŸ˜„
330 Patching Array Cpp Hard 40% 😑
335 Self Crossing Cpp Hard 55% πŸ˜„
336 Palindrome Pairs Cpp Hard 64% πŸ˜„
352 Data Stream as Disjoint Intervals Cpp Hard 38% 😑
354 Russian Doll Envelopes Cpp Hard 41% 😑
358 Rearrange String k Distance Apart Cpp Hard 35% 😑
363 Max Sum of Rectangle No Larger Than K Cpp Hard 41% 😑
381 Insert Delete GetRandom O(1) - Duplicates allowed Cpp Hard 63% πŸ˜„
391 Perfect Rectangle Cpp Hard 36% 😑
403 Frog Jump Cpp Hard 50% πŸ˜„
407 Trapping Rain Water II Cpp Hard 66% πŸ˜„
410 Split Array Largest Sum Cpp Hard 46% 😑
411 Minimum Unique Word Abbreviation Cpp Hard 53% πŸ˜„
420 Strong Password Checker Cpp Hard 57% πŸ˜„
423 Reconstruct Original Digits from English Cpp Medium 60% πŸ˜„
425 Word Squares Cpp Hard 71% πŸ˜„
432 All O`one Data Structure Cpp Hard 63% πŸ˜„
502 IPO Cpp Hard 50% πŸ˜„
514 Freedom Trail Cpp Hard 50% πŸ˜„
517 Super Washing Machines Cpp Hard 33% 😑
527 Word Abbreviation Cpp Hard 69% πŸ˜„
546 Remove Boxes Cpp Hard 66% πŸ˜„
1372 Check If It Is a Good Array Cpp Hard 100% πŸ˜„
1381 Maximum Score Words Formed by Letters Cpp Hard 50% πŸ˜„
1389 Minimum Moves to Move a Box to Their Target... Cpp Hard 33% 😑
1398 Number of Ways to Stay in the Same Place After... Cpp Hard 50% πŸ˜„
πŸ“† 3 months ago
631 Design Excel Sum Formula Cpp Hard 30% 😑
781 Basic Calculator IV Cpp Hard 50% πŸ˜„
963 Three Equal Parts Cpp Hard 37% 😑
πŸ“† 6 months ago
175 Combine Two Tables Mysql Easy 100% πŸ˜„
176 Second Highest Salary Mysql Easy 50% πŸ˜„
177 Nth Highest Salary Mysql Medium 100% πŸ˜„
178 Rank Scores Mysql Medium 100% πŸ˜„
197 Rising Temperature Mysql Easy 50% πŸ˜„
262 Trips and Users Mysql Hard 75% πŸ˜„

About

A leetcode crawler built with selenium and requests. Generate a revision guide for your coding interview

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages