This repository contains solutions to various LeetCode problems, organized for easy reference and execution.
-
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, wherexrepresents 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.
To execute a specific solution, run the corresponding Python file from the quizzes directory or utilize runner.py for streamlined testing.