Skip to content

jmssil/backend-engineering-challenge

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

Backend Engineering Challenge

Assumptions:

  • tried to use a cost-effective solution for the problem at hand;

  • research was also time-boxed accordingly;

  • would have used a time series library like Pandas if performance was not a issue and we needed to greatly expand on the features;

  • relying on Python's sorting algorithm; could come up with a more convoluted implementation(*) if we can't afford to use Python's "sorted".

Risks:

  • not sure if there will be some accumulated numerical error, suppose not.

  • uncertain about the extensibility of the code, but for the given scope, the architecture seems adequate.

Usage:

Just type ./moving_average.py for a description of the input arguments.

An usage example is:

./moving_average.py --input_file events.json --window_size 10

(*) Inserting mirror events in a sorted fashion (in the correct time order).

About

Engineering Challenge for Backend candidates

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%