Agoda interview question

DS problem solving questions are mostly from leetcode? Like dynamic programming problems, Find a sub array when adding 3 elements equals to a target value from the given array .