Skip to content
GATEiit
7 daysGATE CSE (parts suit GATE DA)

7-Day Algorithms and Data Structures Challenge

Seven days on algorithms and data structures for GATE CSE. Days 2 to 5 also link to the matching GATE DA topics; asymptotic analysis, greedy and dynamic programming are in the GATE CSE syllabus only.

Progress: 0 of 7 days done0%

Mark each day complete when you have studied it. Finishing every day earns the badge "Algorithms track completed". Progress is saved in this browser only.

Day 1 of 7

Asymptotic notation and the master theorem

O, Ω and Θ, and solving divide-and-conquer recurrences.

Remember

  • For T(n) = aT(n/b) + f(n), compare f(n) with n^(log_b a).
  • If f(n) = O(n^(log_b a − ε)) for some ε > 0, then T(n) = Θ(n^(log_b a)). If f(n) = Θ(n^(log_b a)), then T(n) = Θ(n^(log_b a) log n).
  • If f(n) = Ω(n^(log_b a + ε)) and af(n/b) ≤ cf(n) for some c < 1, then T(n) = Θ(f(n)).

Practise previous year questions

Opens Practice filtered to this topic. If no question is tagged with the topic yet, you get the whole subject.