Course catalog

Explore Our Course Catalog

Click any course to see a sample Q&A — the same UI your students get inside the tutor.

BeginnerSample question

What is a linked list and when should I use it?

A linked list is a linear data structure where each element (a node) holds a value and a pointer to the next node.

Use one when:

  • You need O(1) insertion/deletion at the head
  • The size changes a lot at runtime
  • You don't need random access by index

Avoid it when you need fast indexed lookup — an array is better there.