Topic-wise Unit 1: Discrete Structures & Optimization previous-year GATE & UGC NET questions with step-by-step LaTeX solutions