Skip to content

thebossfappy/leetcode-solved

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

71 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Solutions Repository

This repository contains solutions to various LeetCode problems, organized for easy reference and execution.

Repository Structure

  • quizzes/ Directory: Each Python file in this directory corresponds to a solution for a specific LeetCode problem. Files are named using the format _x.py, where x represents the LeetCode problem number.

    Example of file header format:

    """
    Question: Add Two Numbers
    Description: Given a string s, find the length of the longest substring without repeating characters.
    URL: https://leetcode.com/problems/longest-substring-without-repeating-characters/
    Performance:
        - Runtime: 69 ms
        - Memory Usage: 14 MB
    """
  • runner.py: This script is provided to facilitate running and testing the solutions in the repository.

Usage

To execute a specific solution, run the corresponding Python file from the quizzes directory or utilize runner.py for streamlined testing.