Skip to content

l0rinc/CodingExerciseExtractor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Export your CodingBat & LeetCode solutions to GitHub

Descripion

This crawler will gather all your solved exercises, their descriptions, submit times, difficulty and even tests, if possible.

It will generate a series of git commits (as command line script) for each exercise, with the correct date, message and content.

It will also add a basic gradle build and run it after the script is run.

Example:

See my own exported solutions at:

Steps:

  • Import the provided Kotlin & Jsoup script in Idea;
  • Add your username and password to the script (optionally followed by the number of exercises/pages to skip);
  • Run the main and wait for the output;
    • git, gradle and bash command will be generated (nothing is run), you can decide what to execute - linux only;
  • Paste and run the content of the generated commands in the terminal, in the empty folder where you want the files to be placed;
  • Sit back and relax while git is initialized, the solutions and tests are committed and a Gradle project structure is generated.

About

Export your CodingBat & LeetCode solutions to GitHub

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages