Skip to content

Miscellaneous curiosities from the world of computer programming

License

Notifications You must be signed in to change notification settings

br3ndonland/algorithms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Algorithms

Code style: black pre-commit hooks tests

Brendon Smith (br3ndonland)

Description

This repository contains solutions to common computer science algorithm problems in Python and JavaScript. It was generated from br3ndonland/template-python, a useful source of default tooling for my projects.

Directory structure

This project contains JavaScript and Python code. Each language is separated into its own sub-directory: js for JavaScript, and py for Python. The directory structure within each language's sub-directory follows the conventions for that language.

JavaScript applications typically use src for source code and tests for tests.

The convention in the Python community is to put application code either in packagename, or in src/packagename, with tests in tests. Typically the packagename directory contains the source code used to build the Python package packagename. Some examples:

  • FastAPI uses fastapi/fastapi
  • Flask uses flask/src/flask
  • Pandas uses pandas/pandas
  • Requests uses requests/requests
  • The Python dependency management and packaging tool Poetry supports either appname or src/appname.

This repo previously also contained Terraform configurations, which have been moved to br3ndonland/terraform-examples.

Further information

See CONTRIBUTING.md.

About

Miscellaneous curiosities from the world of computer programming

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published