Git Product home page Git Product logo

drivy_test's Introduction

Drivy Backend Challenge

Looking for a job? Check out our open positions. You can also take a look at our engineering blog to learn more about the way we work.

Guidelines

For each level, write code that generates a data/output.json file from data/input.json. An expected_output.json file is available to give you a reference on what result is expected.

  • Clone this repo (do not fork it)
  • Solve the levels in ascending order
  • Only do one commit per level

Pointers

You can have a look at the higher levels, but please do the simplest thing that could work for the level you're currently solving.

The levels become more complex over time, so you will probably have to re-use some code and adapt it to the new requirements. A good way to solve this is by using OOP, adding new layers of abstraction when they become necessary and possibly write tests so you don't break what you have already done.

Don't hesitate to write shameless code at first, and then refactor it in the next levels.

For higher levels we are interested in seeing code that is clean, extensible and robust, so don't overlook edge cases, use exceptions where needed, ...

Please also note that:

  • All prices are stored as integers (in cents)
  • Running $ ruby main.rb from the level folder should generate the desired output, but of course feel free to add more files if needed.

Sending Your Results

Once you are done, please send your results to someone from Drivy.

  • If you are already in discussion with us, send it directly to the person you are talking to.
  • If not, use the application form on every job listing.

You can send your Github project link or zip your directory and send it via email. If you do not use Github, don't forget to attach your .git folder.

Good luck!

drivy_test's People

Contributors

robright20 avatar

Watchers

James Cloos avatar  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.