Skip to main content

Programming & DSA

Programming & DSA

Pick a Programming & DSA subtopic from the cards below — C through hashing — each tagged with marks weightage, importance, GATE samples, and flashcards.

8–12 marks · prioritise Must-score 6 detailed lessons Free guide

Learning outcomes

  • Trace C code with pointers, arrays, and recursion
  • Use stacks, queues, and linked lists in MCQs
  • Answer BST and heap property questions
  • Solve hashing collision and load-factor numericals

Overview

Programming & Data Structures in GATE CSE usually carries about 8–12 marks — mostly C output tracing plus classic structure properties.

Questions mix pointer/array puzzles with stacks, queues, linked lists, BST/heaps, and hashing collision numericals.

Use the weightage table to prioritise Must-score and High topics first, then open each lesson for concepts, samples, practice, and flashcards. Pair with LEARNCODEGURU C tutorials for live coding.

Marks & importance

Topic-wise weightage (indicative)

Programming & Data Structures as a whole usually contributes about 8–12 marks in GATE CSE. Ranges below split that band across subtopics for revision planning — exact marks vary by year.

Topic Typical marks Importance Why it matters
C Programming ~1.5–2 High Output tracing, control flow, functions, recursion, and parameter passing appear every year.
Pointers & Arrays ~2–3 Must-score Pointers, arrays, strings, and structures dominate GATE C MCQs and trace-the-output questions.
Linked Lists ~1–1.5 High Pointer surgery, list length, and reversal ideas are classic code-reading questions.
Stacks & Queues ~1–1.5 High Postfix/prefix evaluation, stack properties, and circular queue conditions are repeat favourites.
Trees & Heaps ~2–3 Must-score BST properties, traversals, heap property, and expression trees give steady high-yield marks.
Hashing ~1–1.5 High Hash functions, chaining, and open addressing numericals; graph adjacency list/matrix as structures.
  • Must-score Lock these first — short, high-accuracy items.
  • High Core building blocks; appear often in MCQ/NAT form.
  • Moderate Less frequent, but clean marks when prepared.
Topic map

Programming & DSA — detailed lessons

Open each subtopic from the left menu (or the cards below). Together they cover about ~26 hours of first-pass DSA: C programming, pointers & arrays, linked lists, stacks & queues, trees & heaps, and hashing — with GATE-style samples, practice, and flashcards.

Suggested study order

  1. C Programming → Pointers & Arrays
  2. Linked Lists
  3. Stacks & Queues
  4. Trees & Heaps → Hashing

After each topic, solve previous-year Programming & DSA questions for that unit. Keep a one-page sheet of pointer quirks, stack/queue formulas, BST/heap properties, and hashing collision methods. Pair theory with live C practice on LEARNCODEGURU.

Frequently asked questions

Is GATE DSA based on C?

Yes. Programming & Data Structures questions are largely C: pointers, arrays, recursion, structures, and classic DS properties. Open each subtopic from this hub for a full lesson.

What data structures are asked most?

Pointers/arrays, stacks, queues, linked lists, trees (BST/heap), and hashing. Treat Pointers & Arrays and Trees & Heaps as Must-score.

How do LEARNCODEGURU tutorials help?

Our C, C++, Java, and Python tutorials give live coding practice for the programming side while you revise GATE theory here.

What should I revise in the last month?

Pointer arithmetic and string traps, stack postfix evaluation, circular-queue conditions, BST/heap properties, and chaining vs open addressing. Re-solve recent PYQs under timed conditions.

Related resources