Cognizant Interview Question

To implement stack without array or list.