/challenges

Solution to BNP Interview Challenges

Primary LanguageJupyter Notebook

Challenges

Description

Solution to the proposed challenges.

Environment Python 3.9.2.

Run

Two options to run it:

  1. (Recommended) Running challenges.ipynb Jupyter Notebook, which has a link that allows to run it directly in Google Colab. This notebook contains explanations and some tests carried out. There is a section named Run for each challenge, which allows to easily run the solution by changing the input (specified in the notebook).

  2. Using the command line. $ python run.py -n=1

Parameters

To run it using the command line is mandatory to use the n parameter, indicating the challenge to run (1, 2 or 3).

option description posible values
n Challenge number 1, 2 or 3

Example: $ python run.py -n=1