Crowe LLP Interview Question

When you would use a particular algorithm (k-means clustering; random forest)