Giter Club home page Giter Club logo

flatten_list's Introduction

Descripton

Take your time implementing code that you are proud of. Quality over quantity.

1. Write some code, that will flatten an array of arbitrarily nested arrays containing some values into a flat array of all the values non-empty

In this exercise, test-all and flatten was added but are not complete. Flatten is to be used as a util file for a higher level of implementation, but the function to call is not implemented. test-all.py will be used as your main to run, test and output.

Implement the flatten function (code/doc/tests) as you will do before sending it as a PR. Examples are provided in the test-all.py file.

2. Write Tracker class models

In this exercise, you need to implement class models. We want to have a Generic tracker class and a Temperature tracker class which will inherit from the Generic.

Generic tracker will need to have a 'insert' and 'mean' function to be used by any type of tracker. Temperature tracker will have its own specific function such as "min" and "max".

In the test-all.py file, simply use your trackers. Examples are provided.

flatten_list's People

Contributors

collab-smart 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.