β¨ I moved my focus on GO
.
Visit my Blog ππ» Hugo's Blog and Medium ππ» Hugo ChunHo Lin.
This repository contains the source code of my problem-solving journey. I will be sharing the process of my problem-solving skills, coding practices, and the journey of my software engineering. I will keep updating this repository with my software engineering journey.
Pull requests (PRs) are welcome! π
Important
Please follow these guidelines to contribute to this repository:
- If the question or solution already exists, you can edit it directly under the current solution.
- If it's a new question or solution, create a new folder with the format:
<source>/<id>-<question-name>/solution.<language>
- Each commit should address only one question.
- Use the format:
<source>/<id>-<question-name>/solution.<language>
- For example:
leetcode/0001-two-sum/solution.go
- Use the format:
git commit -m "feat(<source>): <id> <question-name>"
- For example:
git commit -m "feat(leetcode): 0001 Two Sum"
Note
You can add a comment block at the top of your solution for additional details, such as problem reference, runtime, and author information.
For example:
/**
* Author: 1chooo<[email protected]>
* Problem: https://leetcode.com/problems/minimum-string-length-after-removing-substrings
* Runtime: 3ms (89.08%)
*/
Fork the 1chooo/code
repository into your own workspace.
$ git clone [email protected]:<your_workspace_name>/code.git
$ git remote add upstream [email protected]:1chooo/code.git
$ git remote -v
origin [email protected]:<your_user_name>/code.git (fetch)
origin [email protected]:<your_user_name>/code.git (push)
upstream [email protected]:1chooo/code.git (fetch)
upstream [email protected]:1chooo/code.git (push)
If you have any valuable ideas to contribute, please create a pull request and provide details about the outstanding work you've done.
If you encounter any problems while contributing to this project, please report the issues in the 1chooo/code/issues section.
Important
Make sure to synchronize and update your repository before writing any code.
- Run
git stash save
to temporarily stash your local changes. - Run
git fetch upstream
to sync the source project with your local copy. - Run
git checkout main
to switch to the main branch. - Run
git merge upstream/main
to merge the updated remote version into your local copy. If there are no conflicts, the update process is complete. - Run
git stash pop
to apply your temporarily stashed changes back to your working directory. Resolve any conflicts if necessary.
Hugo ChunHo Lin
π© E-mail: [email protected]
𧳠Linkedin: Hugo ChunHo Lin
π¨π»βπ» GitHub: 1chooo
This software can be modified and reused without restriction. The original license must be included with any copies of this software. If a significant portion of the source code is used, please provide a link back to this repository.
Made with β€οΈ by @1chooo