Oracle Interview Question

implementation of single linked list