Growisto interview question

guesstimate the simple problem