Skip to content

aalekhpatel07/Codewars

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Problems: katas on Codewars

A very basic custom test suite for competitive programming.

Note: Requires Python >= 3 TLDR: Execute python driver.py ProblemA to test the solution to ProblemA against all the test cases.

Some instructions.

For writing the solution:

  • (Optional): Source into a virtual environment to ensure Python >= 3 is invoked with the python command.
  • Copy template.py into /solutions and rename it.
  • Filename should be one-word.
    1. Example: ProblemA.py
  • This one's important: Write the solution in the solve() method inside problemA.py.
  • Make sure the drivers return the result in ProblemA.py.

For testing the solution:

  • Fill in the input for test cases 1, 2, ... by creating ProblemA1.in, ProblemA2.in, ... inside data/input.
  • Fill in the expected output for test cases 1, 2, ... by creating ProblemA1.out, ProblemA2.out, ... inside data/output.
  • To execute all the tests, simply execute python driver.py ProblemA in the shell.

List of Problems Solved:

About

Solutions to katas on Codewars.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages