Meta Interview Question

How do you package code (tarzip) / coding round involving string manipulation and log rotation