Week 118 of 145 ยท TAOCP Vol 4A: Combinatorial Algorithms, Part 1

TAOCP 7 Combinatorial Searching intro (part 1)

1 task, 3 steps. Open a task's steps to see exactly what to do; each guide has the detail.

Sign up or sign in to tick these off and give this week a due date.

By the end of this week you can

  • Use brute force to find Langford pairings for small n.
  • Explain why a graph is bipartite exactly when it has no odd cycle.
  • Recognize how splitting a search into phases shrinks the work.

Week 118 ยท Self-check

Three quick questions

Ungraded, and it never holds anything up. Pick an answer to see why.

  1. A Langford pairing puts exactly k numbers between the two copies of k. Which is a Langford pairing for n = 3?
  2. For which n do Langford pairings of 1, 1, 2, 2, ..., n, n exist?
  3. Which of these graphs is bipartite?

Nothing is saved while signed out.

Discussion

0 posts

Stuck on week 118, or finished early? Say what you tried and what happened. Hints over answers: full solutions go in a spoiler.

No posts yet. Ask a question or share a tip.

Sign in to postAnyone can read. Posting needs an account with a confirmed email.

Spot a mistake? Report it