FactSet interview question

Subsequence ,subarrays, trees,graphs Linked list