Solution to the exercise Sales by Match from the warm-up challenges section of HackerRank's interview preparation kit, written in Python 3. The exercise can be found at the following link:
https://www.hackerrank.com/challenges/sock-merchant/problem?h_l=interview&playlist_slugs%5B%5D%5B%5D=interview-preparation-kit&playlist_slugs%5B%5D%5B%5D=warmup
Donate:
https://www.patreon.com/foryourmath