Skip to content

rromanv/leetcode-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LeetCode Python Solutions

This repository contains Python solutions for LeetCode problems, organized by problem number.

Problems

Problem Solution Tests Difficulty
1. Two Sum problem_1.py test_1.py Easy
9. Palindrome Number problem_9.py test_9.py Easy
20. Valid Parentheses problem_20.py test_20.py Easy
49. Group Anagrams problem_49.py test_49.py Medium
56. Merge Intervals problem_56.py test_56.py Medium
3136. Valid Word problem_3136.py test_3136.py Easy

Running Tests

To run tests for a specific problem:

pytest tests/test_1.py -v

To run all tests:

pytest tests/ -v

Contributing

  1. Create a new problem file in the problems/ directory
  2. Create corresponding tests in the tests/ directory
  3. Update this README with the new problem entry
  4. Follow the coding guidelines in the workspace rules

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages