Matrix Zigzag Traversal(LintCode 185):

Problem