-
Notifications
You must be signed in to change notification settings - Fork 664
每道题有很多种解法,能不能保留自己之前通过的解答,而不是覆盖文件。 #620
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
在原文件上注释掉原来的代码即可 |
新点开问题,新solution,保存为副本即可? |
谢谢了 |
确实是一个方法,但是如果官方能给出更好的模式就好了,谢谢了。 |
Maybe you can try to change the file name by such as adding something like *_solution_1.cpp, *_solution_2.cpp, when you open that question again with vscode-leetcode, there will be a new file created. |
你可以试试看每个解法创建创建一个新方法 leetcode主函数里面调用你实际想提交的那个方法就好 |
直接复制粘贴一下文件 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Before you submit an question we recommend you to check out the DOCUMENT first.
You can also find more information in:
💬 Questions and Help
Please outline the questions.
The text was updated successfully, but these errors were encountered: