NTT DATA interview question

What is Inheritance? 3sum problem.