Skip to content

0melette/leetcoder

Repository files navigation

Leetcoder 🤓

This is Leetcoder – Your personal vault of LeetCode solutions!

only works with python ahahaha

This project lets you store, run, and test your coding solutions like a boss 😎 🔥.

neovim

Features

  • Dynamic Problem Loading: Load and run your LeetCode problems 🤯.
  • Color-Coded Test Results: See at a glance which tests passed (green) and which failed (red).
  • Seamless Integration: Works smoothly with your IDE for the ultimate coding experience.

Usage

  1. Run the Script: Fire up your IDE and run the Leetcoder.py script.
  2. Select a Problem: Choose from your vault of problems.
  3. View Results: Watch as your solutions are tested and results are displayed with color-coded feedback 🧑‍🎨.
graph TD;
    A[Import Test Cases] --> B[Create Solution.py];
    B --> C[Run from Menu];
    C --> D[?????];
    D --> E[become LeetCode master 🎉];
Loading

CHANGELOG

[2024-09-02] - Version 0.4.0

•	Enhanced ProblemRunner to use dynamic input parsing for different input types like lists, integers, strings, and custom classes (e.g., TreeNode, Node).
•	Introduced a CI/CD script (run_all_tests.py) to automate test execution across all problems.

[2024-08-26] - Version 0.3.0

•	Added wrap-around for long inputs/outputs
•	Added list formatter to solve weird whitespace things for comparision
•	Enabled parsing and construction of n-ary tree structures

[2024-08-25] - Version 0.2.0

•	Introduced a new parsing mechanism to automatically handle different types of problem inputs.
•	Added a mapping system (PARSER_MAPPING) to link specific problems to their corresponding parsing methods.

[2024-08-24] - Version 0.1.0

•	Initial Release: Set up the basic structure of the Leetcoder project, including:
•	Problem menu with color-coded difficulty levels (easy, medium, hard).
•	Problem runner that executes solutions based on test cases.
•	Modularised project structure with separate files for the menu, runner, and problem loader.

About

she leet on my code til i

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors