leetcode-export icon indicating copy to clipboard operation
leetcode-export copied to clipboard

Add `--no-duplicates` flag to prevent exporting duplicate submissions

Open NeverMendel opened this issue 2 years ago • 0 comments

--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 avatar Feb 14 '23 19:02 NeverMendel