Answer:
one year
Step-by-step explanation:
An average fruit fly could grow into fully adult form in 40 - 50 days (in this point , they are ready to reproduce ).
One fruit fly could lay around 500 eggs in one go and they have multiple partners around their life time. This number make it impossible for humans to control fruit fly population and it's predicted that they can cover the entire earth with just one year period.