Run leet to generate the file for solution automatically.
leet problem_number problem_link language difficulty
For example:
leet 75 https://leetcode.com/problems/sort-colors/ java m
Then the file will be generated (e.g., 75-Sort-Colors.java
). And the prompt will ask you whether you want to 1) append
the entry to the table, 2) open the file to solve the problem, 3) and commit your work.
A short demo is below