Skip to content

YanceyOfficial/leetcode-trip

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Trip

Build Status License: MIT PRs Welcome Commitizen friendly Code Style Node Rust DependaBot codecov Codacy Badge

⭐️ Found it cool? Want more updates? Show your support by giving a ⭐️

Introduction

Data structures and algorithms implemented in JavaScript and Rust with explanations. The algorithm questions include, but are not limited to LeetCode, Coding Interviews: Questions, Analysis and Solutions and Algorithms, 4th Edition. Visit LeetCode Trip for more information. The website is powered by docusaurus.

lt-cli

npm version

LeetCode Trip comes with a built-in CLI which can be used to generate template markdown files, statistical analysis, upgrade itself. While you can install lt-cli globally on your machine, it's much better to install it locally project by project. If you would like not to install it globally, use pnpm generator and pnpm statistics instead.

Install

Using pnpm:

pnpm i @yancey-inc/lt-cli -g

lt-cli

Contributing

The main purpose of this repository is to continue to evolve LeetCode Trip, making it faster and easier to use. Development of LeetCode Trip happens in the open on GitHub, and we are grateful to the community for contributing bugfixes and improvements. Read below to learn how you can take part in improving LeetCode Trip.

LeetCode Trip has adopted a Code of Conduct that we expect project participants to adhere to. Please read the full text so that you can understand what actions will and will not be tolerated.

Read our contributing guide to learn about our development process, how to propose bugfixes and improvements, and how to build and test your changes to LeetCode Trip.

Good Issues

Please make sure to read the Issue Reporting Checklist before opening an issue. Issues not conforming to the guidelines may be closed immediately.

Semantic Commit

LeetCode Trip follows the Angular Team's Commit Message Guidelines, your commit will be checked by commitlint, please use git cz instead of git commit. For this reason, you might install commitizen globally.

Algolia Search

Unfortunately, LeetCode Trip is not compliant with algolia's checklist, we must run the crawler by ourselves. Please create .env in root path.

# DO NOT UPLOAD THIS FILE TO PUBLIC!!!
# .env
APPLICATION_ID=YOUR_ALGOLIA_APP_ID
API_KEY=YOUR_ALGOLIA_API_KEY

After a successful build, execute the following script.

docker run --env-file=.env -e "CONFIG=$(cat ./algolia-config.json | jq -r tostring)" algolia/docsearch-scraper

License

LeetCode Trip is licensed under the terms of the MIT licensed.

About

Data structures and algorithms implemented in JavaScript and Rust with explanations.

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Sponsor this project

Packages

No packages published