Skip to content

rajat-ankel/Leetcoder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Automation Bot

DEMO

leetcoder.mp4

This project automates the process of submitting solutions to LeetCode problems. It uses Selenium WebDriver to interact with LeetCode's website and submit solutions from JSON files.

Table of Contents

Introduction

The LeetCode Automation Bot helps in automating the submission of solutions to LeetCode problems. It supports the following:

  • Loading solutions from JSON files.
  • Automatically submitting solutions and checking for successful submissions.
  • Storing lists of solved and not solved problems.

Features

  • Manual Login: Allows users to manually log in to LeetCode.
  • Automated Submission: Automatically submits solutions and checks for "Accepted" results.
  • Track Solved/Not Solved Problems: Maintains records of solved and not solved problems in separate JSON files.
  • Scheduled Updates: (Optional) Can be integrated with scheduling libraries to run at specific intervals.

Installation

Prerequisites

Ensure you have the following installed:

Steps

  1. Clone the repository:

    git clone https://github.com/rajat-ankel/leetcode-automation-bot.git
    cd leetcode-automation-bot
  2. Create and activate a virtual environment (optional but recommended):

    python -m venv venv
    source venv/bin/activate  # On Windows use `venv\Scripts\activate`
  3. Install the dependencies:

    pip install -r requirements.txt

Usage

Submitting Solutions

To start the solution submission process, run:

python leetcoder.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages