TCS Interview Question

2 coding questions live, 1. Segregate odd and even elements in a linked list. 2. Vertical order of a binary tree