Hi Alex
I had an appointment canceled this afternoon, so I took the opportunity to engage a bit more the code in the challenge.
As you mentioned I should not invest too much time...
Two hours+ in, while I tried to reason about the right amount of pragmatism and "state-of-the-artness" (should it just work? should it show I care?) I realized that writing something that will leave my mind at peace will eat me a whole day if not more. If you like I can do that, probably on Sunday as I mentioned. But as suppose you are not interested in every detail or perfect solution, but mostly on how I would go about tacking the most important pain points of the challenge. So, I will describe how I would finish the challenge, and then you can decide if it is enough for a follow up conversation or if I should actually get the thing done.
There is a pseudo code as a draft in this PR: