Bhupesh-V / squadstack-activity

Solution to activity shared by squadstack for role of Product Engineer I

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

squadstack-activity

Problem Statement

Pre-requisties

  • Python 3.6+

Installation

  1. Clone the repo
  2. Run the main.py script using python3 main.py

Assumptions

  1. Considering the initial slot is closer to entry gate, and the last slot number is closest to exit gate. This helps in assigning tickets closer to entry
  2. A parking lot once created does not modify again (i.e fixed no.of slots available once created).

About

Solution to activity shared by squadstack for role of Product Engineer I

License:MIT License


Languages

Language:Python 100.0%