Qualcomm interview question

What is RANSAC used for?