What algorithms must an embedded client support?

You might want to read this other recent thread about embedded clients:

It's not about your algorithm question, but other matters.