Algorithms & Data Structures – quiz with 15 questions

Big-O notation through examples, stack, queue, hash table, linked list, and search tree, plus binary search, sorting algorithms, Dijkstra, and memoisation.

Questions
15
Level
Intermediate
Area
Programming & data · Programming languages

Modules

Sample question

Welche Laufzeit hat die Suche nach einem Wert in einer unsortierten Liste mit n Elementen im schlechtesten Fall?

  • O(1)
  • O(n)
  • O(n²)
  • O(log n)

Correct: O(n). Ohne Sortierung muss man im schlechtesten Fall jedes Element ansehen. Bei doppelt so vielen Daten dauert es etwa doppelt so lang.

More questions from the quiz

  • Eine Schleife in einer Schleife vergleicht jedes Element mit jedem anderen. Welche Komplexität entsteht?
  • Was bedeutet O(log n) bei der binären Suche praktisch?
  • Was beschreibt die Big-O-Notation?
  • Was ist das Grundprinzip der Rekursion?
  • Welche Datenstruktur arbeitet nach dem Prinzip LIFO (Last In, First Out)?

The questions and explanations are in German – checked by experts, not machine-translated.

After every answer, Quizbot explains why it is right or wrong. Open questions come first, and progress is counted per topic. The quiz is free of charge; no account is needed.

As of 15.11.2026 · All quizzes

Quizbot – a project by AI SYSTEM, St. Gallen · Home