Topic-wise Unit 7 & 8: DSA, Theory of Computation & Compilers previous-year GATE & UGC NET questions with step-by-step LaTeX solutions