Persistent Systems Interview Question

Asked to write Stack Program