Skip to content

Simple parking lot implementation in Python. Implemented as a submission for gojek.

Notifications You must be signed in to change notification settings

satwikkansal/parking_lot_prototype_python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gojek submission

Submission for Parking lot problem.

Instructions to run

To run the interactive mode (CLI), simply ignore the tests/test_input.txt argument in the following commands.

Running through shell script (Recommended)

$ bin/setup
$ bin/parking_lot tests/test_input.txt

To run functaionl spec,

$ bin/run_functional_tests

Note: The shell scripts fallback to Docker, if Python version 3.7+ is not detected in the system.

Running directly using Python (Requires Python 3.7+)

$ python src/main.py tests/test_input.txt

Running using Docker

$ docker build -t gojek-submission-satwik .
$ docker run -it gojek-submission-satwik tests/test_input.txt

About

Simple parking lot implementation in Python. Implemented as a submission for gojek.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published