Meta Interview Question

Which algorithm would you use in situations X and Y and why?