SingleStore interview question

Standard Leet Code Two Sum Problem