HubSpot interview question

- Coding challange is the write a simple algorithm in the programming language you feel confortable with.