Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/TooSchoolForCool/LeetCode-Search
An Alfred Workflow for searching algorithm problems in LeetCode with advanced options
https://github.com/TooSchoolForCool/LeetCode-Search
Last synced: about 2 months ago
JSON representation
An Alfred Workflow for searching algorithm problems in LeetCode with advanced options
- Host: GitHub
- URL: https://github.com/TooSchoolForCool/LeetCode-Search
- Owner: TooSchoolForCool
- License: apache-2.0
- Created: 2018-05-18T04:39:05.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-10-04T16:57:57.000Z (over 5 years ago)
- Last Synced: 2024-08-03T16:09:56.567Z (5 months ago)
- Language: Python
- Size: 24.2 MB
- Stars: 28
- Watchers: 2
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- alfred-workflows - LeetCode Search - Search algorithm problems in [LeetCode](https://leetcode.com/) with custom options. (Learn)
README
# LeetCode Search for Alfred Workflow
![passing](https://img.shields.io/badge/build-passing-brightgreen.svg) ![version](https://img.shields.io/badge/version-1.0.1-brightgreen.svg) ![python](https://img.shields.io/badge/python-2.6%2C%202.7-blue.svg)
**LeetCode Search** is an [Alfred](https://www.alfredapp.com) Workflow plugin for searching algorithm problems in [LeetCode](https://leetcode.com) with custom options.
![demo](docs/demo.gif)
## 1. Download
You can download the latest version in [Github releases page](https://github.com/TooSchoolForCool/LeetCode-Search/releases/tag/1.0.0).
## 2. Usage
### 2.1 General Search
Try keyword `lc` for general search in LeetCode. Just simply enter your query. You can also enter `-e`, `-m` and `-h` to specify Easy, Medium and Hard problem.
Here is a simple example to search Hard problem with keyword *knapsack*
```
lc knapsack -h
```### 2.2 Serach Topic
Try keyword `lct` for searching a specific Topic in LeetCode. Just type in some keywords and **LeetCode Search** will automatically suggests you some related topics.
*Note: These topics are pre-defined by LeetCode, if no related topic is matched, then a general search will be performed.*
Here is a simple example to search Medium problem in `tree` related topics.
![image-20180518213429177](docs/lct-tree-example.png)
You can also try some other keyword, like `search`, `string`, `dp`, or you can just enter the topic listed on the LeetCode, it works as well.
## Acknowledgement
This Alfred Workflow plugin is developed based on [deanishe/alfred-workflow](https://github.com/deanishe/alfred-workflow). Thanks for this great helper library.