Given a 2-D array of size N x N, where N is odd, print its elements in
zigzag fashion-

If INPUT-
a b c d e
f g h i j
k l m n o
p q r s t
u v w x y

OUTPUT-
a f b c g k p l h d e i m q u v r n j o s w x t y


-- 
With Regards,
*Jalaj Jaiswal* (+919019947895)
Software developer, Cisco Systems
B.Tech IIIT ALLAHABAD

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to