Use leetcode to learn algorithms
1.If you want to check the whole leetcode exercises, just see the main
branch.
2.The mid
branch is only a simplify version of the medium difficulty problem, with only the solution and no other compilation information included.
3.Future, I may creat a new branch called hard
,which is the collection of hard difficulty questions and have the similar function with mid
branch.
- This branch has integrated
github flow
workflow, and uses the officialubuntu
online environment to continuous integration and test code. The detailed operation steps are as follows:
In the above figure, you can see a wokrflow
in the red box named lcpractice
.
Click ①Run workflow
first, then click ②run workflow
.
- Wait for the system to automatically run and test, or click on it to enter the details page like this
In this image, you can see that 5 steps need to be executed, and Set up job and Complete job are system self-taking.
Others such as clone、install、run、test、test are self-set. These run on the ubuntu system provided by github.
- Due to the writing environment is
Windows
and testing environment isLinux
, there may be many file format issues, so the execution of the. exe file was not carried out in thetest
.