Giter Club home page Giter Club logo

columbus_tech_challenge's Introduction

PRUEBA TÉCNICA COLUMBUS

Tech Challenge. Escribe un programa en Python o Javascript que aplane un arreglo de enteros o arreglos de enteros (el cual puede estar anidado arbitrariamente) a un arreglo plano de enteros.

Como correr

Puedes correrlo en replit.com

este es el link https://replit.com/join/cuhmjhtaqr-soru13 replit

Puedes dar run o puedes usar shell y hay dos formas la normal y la de pruebas: Si es en local puede necesites instalar pytest en sistemas basados en unix/linux

pip install pytest
python main.py
pytest main.py

Puedes correrlo simplemente ejecutanto el archivo

plain_data.py

python plain_data.py
pytest plain_data.py

Si usas Docker:

Para el entorno de desarrollo solo instala docker y a continuación ejecuta:

Para simplemente correrlo

docker-compose up

Despiues de tener el contenedor pues ejecutarlo las veces que quieras con la siguiente línea de código

docker-compose run --rm prueba

para correr las pruebas

docker-compose run --rm prueba pytest -v plain_data.py

a continuación ejecuta para eliminar el contenedor:

docker ps  && docker rm id_container -f

columbus_tech_challenge's People

Contributors

soru13 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.