Adobe interview question

Two sum problem, ML design for chatbots.