Sollicitatievraag bij Huawei Technologies

How would one go about writing a fraud detection algorithm?