Teradata interview question

Mainly Data structure and algo