Skip to content

Linked List problems,
and the tell.

The input is nodes joined by pointers and the answer rearranges them, not their values. 56 problems in the catalogue carry this tag, from first-week easy to interview hard.

Free to start. Running and submitting a solution never costs credits.

How the pattern actually works.

One mechanism, and the mistake that costs people the problem.

The tell. The input is nodes joined by pointers and the answer rearranges them, not their values.

The mechanism. Almost everything is a pointer dance: a dummy head so the first node is not a special case, one slow and one fast pointer to find the middle or a cycle, and careful reversal in place.

What goes wrong. Losing the rest of the list. Save the next pointer before you overwrite it.

The ones asked most often.

By how often the catalogue records them being set, not by our opinion.

  1. LRU CacheMediumasked at 101 companies
  2. Max StackHardasked at 4 companies
  3. Find the Minimum and Maximum Number of Nodes Between Critical PointsMediumasked at 2 companies
  4. Add Two Numbers IIMediumasked at 1 companies
  5. Linked List in Binary TreeMediumasked at 1 companies
  6. Copy List with Random PointerMediumasked at 17 companies
  7. Middle of the Linked ListEasyasked at 5 companies
  8. Maximum Twin Sum of a Linked ListMediumasked at 1 companies
  9. Reorder ListMediumasked at 5 companies
  10. Design HashSetEasyasked at 1 companies

Read it, watch it, then solve it.

The order that makes a pattern stick.

Everything in the app, in one place.

Practice, interviews and the tools, all free to start. Swipe to see the rest.

Free to start: 100 AI credits when you sign up and 100 every month. Start free in the app

About linked list problems.

Free to start, no card.

Start practising
How do I know a problem is a linked list problem?

The input is nodes joined by pointers and the answer rearranges them, not their values.

How many linked list problems should I solve?

Enough to stop needing the hint, which is usually ten to fifteen across the levels, not the whole list. The catalogue tags 56, split roughly 11 easy, 38 medium and 7 hard in the sample we show, so work up rather than across.

What goes wrong most often in linked list problems?

Losing the rest of the list. Save the next pointer before you overwrite it.

Is practising by pattern better than a problem sheet?

A sheet tells you what to solve. A pattern tells you why those problems sit together, which is the part that carries over to the problem you have not seen. That is why the app files every problem under its pattern.