Oracle Interview Question

Linked List reverse with N Nodes from end? Maximum subarary with target value? Tree Problem.