Domanda di colloquio di Huawei Technologies

How would one go about writing a fraud detection algorithm?