SingleStore interview question

Searching through a large database to find where to implement an algorithm, then implementing it