Anheuser-Busch InBev interview question

Oops concepts , one DSA questions