The research identified carrots, celery and oranges as having the highest number of cancer-fighting molecules.
The DreamLab app, which has now been downloaded 83,000 times, works while users sleep and has so far performed more than 10 million calculations.
One expert said there was a “long road ahead” to develop treatments.
The app uses an algorithm to measure the properties of more than 8,000 everyday foods against a comprehensive database, looking for molecules that have successfully tackled cancer in lab tests of cell cultures or animals.
Grapes, dill and cabbage also had high numbers of these anti-cancer molecules.