Synechron Interview Question

leetcode medium DSA problem (Zigzag Conversion)