WhiteCarrot interview question

DSA: Two Sum Database design: Wise Application