Skip to content
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

Add --no-duplicates flag to prevent exporting duplicate submissions #3

Open
NeverMendel opened this issue Feb 14, 2023 · 0 comments
Open
Labels
help wanted Extra attention is needed

Comments

@NeverMendel
Copy link
Owner

--no-duplicates should prevent identical duplicate submissions for the same leetcode question from being exported.

Duplicate submissions can be identified by computing the hash of the submission code submission.code and comparing it to that of previously exported submissions.

MD5 hash should be suitable for this purpose because it's fast to compute.

@NeverMendel NeverMendel added the help wanted Extra attention is needed label Feb 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant