Zoho Interview Question

Zig Zag Sorting Longest Substring Reverse the String