Thank you for the example, but this is not a generalized problem, and is very specific to your domain, so it would be silly to receive such a question from companies that are not your company, which I have had happen.<p>If I were applying for your company, I <i>would</i> expect to have to <i>implement</i> an algorithm like this on the job, but I don&#x27;t see why I should have to know it to get the job. As long as I was capable of implementing algorithms as described, wouldn&#x27;t that be the most important factor?