Adobe Interview Question

Q: Implement zigzag array in efficient way Q: implement mirror of tree