Persistent Systems Interview Question

Reverse an array. Insert node in linked list Oops concepts