Optiver interview question

Which encoder is best for a specific scenario