Interview question: What are the chances of the user being Genuine?

64 Views Asked by At

This is an actual interview question.:

A website has a system called The "findoo" that blocks brokers from using the website. It is empirically observed that the chances of a user of website is a broker is 1/100. Let's say "findoo" identifies a particular user to be Broker. "findoo" is a ML based engine that has an error rate. "findoo" identifies 1 out of 1000 users wrongly as broker when he is not a broker. "findoo" identifies broker as broker 999 out of 1000 times. Now Given "findoo" has stated the user is a broker, what are the chances of the user being Genuine?