LeeCo
cancel
OK
Search
Sort
Send
View This Problem In Web
Reload
Loading…
Feedback
Write feedback here
Your feedback has been sent! Thank you!
Failed to send your feedback.
Better Solution
Better Solution For
Send Your Better Solution
You can send your better solution and the problem title to me. After checking your wonderful solution, I will update the solution. Thanks for making LeeCo better! My e-mail address is\nNightonke@outlook.com
Copy e-mail address
E-mail address copied.
Write the e-mail
Sort By
Sort by
Click to login
Favorites
Likes
Tags
Settings
Help
Feedback
About LeeCo
Sign Out
Sure to sign out?
sign out
cancel
LeeCo
Welcome to LeeCo! After signing in, you can
COLLECT your favorite problems
WRITE comments
VOTE for comments
GET VOTES from comments
Let\'s join LeeCo right now!
sign in
sign up
cancel
Sign In
User name
Password
sign in
Forget password
cancel
Empty user name
Empty password
Internet disconnected
User not found
Password wrong
Incorrect user name or password
Signing in…
Sign in successfully
Forget Password
Sorry to hear that you forget your password. You can send me an e-mail to get your password back. My e-mail address is\nNightonke@outlook.com
write the e-mail
copy e-mail address
cancel
Get Your Password Back
E-mail address copied.
Sign Up
User name
20 letters or 10 Chinese characters
Password
Password again
sign up
cancel
Empty user name
Invalid user name
Empty password
Please type your password again
Internet disconnected
User name existed
Passwords are different
Signing up…
Sign up successfully
Please sign in first
Collect this problem successfully
Collect this problem failed,\ninternet disconnected
Throw this problem successfully
Throw this problem failed,\ninternet disconnected
Favorites
Comment
Settings
Feedback
About
Help
Sorting…
Researching…
Searching…
Data not found,\nplease refresh data
Load failed, internet disconnected
VIEW
Collect
Collect this problem?
collect
cancel
Throw
Throw this problem from your favorite?
throw
cancel
Refresh
Share
Copy Link
Link copied
Open With
Re:
By
Title
Write comment here
Let\'s find better solutions!
Title and content are both unchanged
Please sign in first
Empty title
Invalid title
Empty content
Invalid content
Add comment successfully
Add failed, internet disconnected
Add Comment
Your comment has not been sent, sure to quit? The comment you edited will not be saved.
Quit
Send
Cancel
Update comment successfully
Update failed, internet disconnected
Update Comment
Your comment has not been updated, sure to quit? The comment you edited will not be saved.
Quit
Update
Cancel
Delete comment successfully
Delete failed, internet disconnected
Vote comment successfully
Vote failed, internet disconnected
Veto comment successfully
Veto failed, internet disconnected
Content copied
Operate
Edit this Comment
Delete this Comment
Copy the Content
Reply this Comment
Vote this Comment
Veto this Comment
Problems are still loading, please wait
Problem is still loading, please wait
Solution copied
Tag
Tags
Similar Problem
Similar Problems
Please sign in first
Empty user name
Invalid user name
Changing…
Change user name successfully
Change failed, internet disconnected
New user name existed
Change User Name
Others can see your user name on your comment.
Change User Name
Old user name
New user name
20 letters or 10 Chinese characters
OK
Cancel
Changing…
Empty old password
Old password incorrect
Empty new password
Please type your new password again
Change password successfully
Change failed, internet disconnected
Passwords are different
Please sign in first
Change Password
Protect your account.
Authentication
Old password
Next step
Cancel
Change Password
New password
New password again
OK
Cancel
Check Update
Let\'s make LeeCo better.
Checking for newer version
Newer Version
Update
Don\'t remind this version
Next time
This is newest version
Update content:
Downloading
Downloading the newest version.
New!
Let\'s make LeeCo better!
Empty title
Invalid title
Empty content
Invalid content
Add feedback successfully, thank you!
Add failed, internet disconnected
Add Feedback
Your feedback has not been sent, sure to quit? The feedback you edited will not be saved.
Quit
Send
Cancel
Loading
Please wait for loading.
Cancel
Loading failed, internet disconnected
LeeCo
LeeCo helps you practice algorithms and data structures.
LeeCo is a personal application for LeetCode(leetcode.com/problemset/algorithms/).
With LeeCo, you can read all the problems(including the locked problems), collect your favorite problems and see how many people collected them as well.
There is a sample solution for each problem for everyone to comment on.
The discusses on the LeetCode are list in LeeCo too, with these you can think more about algorithms and data structures.
And also, you can write comments for problems just like everyone does.
If you like some comments, you can vote for them or reply them.
You can get many votes for your own(that\'s a record for everyone) if your comments are so great.
For more information about LeeCo, you can check the help in the drawer menu in the left of the main page.
Now, join algorithms and data structures with LeeCo!
Developer
Nightonke
Follow Me!
LeeCo Is Open Source
github.com/Nightonke/LeetCoder2
Blog
blog.csdn.net/u012925008
Email
Nightonke@outlook.com
Write Me A Letter
Libs
Thanks for the awesome libs follow
Images Loading
com.squareup.picasso
Smart Tab
com.ogaclejapan.smarttablayout
Finest WebView
com.thefinestartist
Bmob
cn.bmob.android
Tag Group
me.gujun.android.taggroup
Super RecyclerView
com.malinskiy:superrecyclerview
Auto Fit TextView
me.grantland:autofittextview
Animation
com.daimajia.androidanimations
Material Dialog
com.github.afollestad.material-dialogs
Cult
com.github.ppamorim
Text Drawable
com.amulyakhare:com.amulyakhare.textdrawable
Super Toast
com.github.johnpersano:supertoasts
Expandable Layout
com.github.aakira:expandable-layout
Bugly
com.tencent.bugly
Vote
Votes
Like
Likes
Tag
Tags
Main Page
In the main page of LeeCo, there are algorithm problems from LeetCode(leetcode.com/problemset/algorithms/).
All the algorithm problems are classified into 29 tags in the sub pages.
You can see the degree of difficulty and the being collected times of every problem.
Click a problem then you can check the details of the content, solution, discusses(from LeetCode) and comments(from LeeCo) of the problem.
Open the drawer menu, there are the information of user(after signing in), all the tags(click to jump to the corresponding sub page), settings, help, feedback and about.
There are sorting and searching icons at the top right-hand corner to help you search and read problems.
Sign Up and Sign In
You can sign up and sign in to LeeCo. After signing in, you can collect problems, publish, reply and vote comments.
Favorite
After signing in, you can click the favorite button in the drawer menu in the main page to check all the problems collected by you.
There are 2 ways to collect or cancel the collection of problems: long press the problem in the main page or in the favorite page, click the "heart" button in the problem page introduced below.
And also, you can sort or search problems in the favorite just as in main page.
Problem
After clicking a problem to jump to the problem page, you can find all the details of the problem, including title, tags, difficulty level, times of being collected, problem content and similar problems.
Try to click the "airplane" button at the top right-hand corner to check the problem in LeetCode or click the "heart" to collect this problem or cancel it.
If you want to check the tags of the problem, just click the tag and click the check icon(the eye in toast) to jump to the sub page of the tag.
Similarly, click the similar problems to jump to the corresponding problems.
Solution
Swipe to left to enter the solution page at the right of problem page, where there is the solution provided by LeeCo for the problem.
Click the copy button to copy the codes of the solution.
If you find some mistakes of problem and solution or just think the solution is just so so, you can click the "hand" button to feedback.
Discuss
In the discuss page at the right of solution page, there are discusser from LeetCode.
You can sort the discusses or click them to view in web.
Comment
In the comment page, you can comment on problems and solutions.
Click a comment then you can expand or collapse it.
Long press a comment then you can reply to, vote or veto for and copy the content of the comment if the comment is not published by you.
Long press a comment published by you, you can edit, delete it or just copy the content of the comment.
Click the buttons at the bottom right-hand corner of a comment to reply, vote or veto quickly.
You can sort the comments or publish your comments through the buttons at the top right-hand corner.
The times of vote to your comments will be add up to your account.
You can check this in the drawer in the main page.
Other
In the drawer of main page, you can also:
set your password or check the update in settings,
check this document in help,
feedback to help LeeCo be better and check the information of the developer and the open-source address of LeeCo.