My Authors
Read all threads
📊 Today, (weakly|weekly) quiz will be about graphs. The ones with nodes and edges, not those plotting against you.

Specifically, *planar* graphs. The nice ones.

1/7
What's an (undirected) graph here? Just a pair G=(V,E) of n=|V| vertices (nodes) and m=|E| edges, where E ⊆ V×V and each edge in E is a pair (v₁,v₂) indicating if the two nodes v₁ and v₂ are connected.
If E=V×V (all possible edges), G is the complete graph, Kₙ.

2/7
(above, that's K₇, also very cool on t-shirts.). A graph G is *planar* if you can draw it on a sheet of paper w/o crossing edges ("can be embedded in the plane"). Kₙ, for instance, is not planar.

Leading us to Q1: I give you G. How hard is it to decide if it's planar?

3/7
Nice. So, let's say G is a planar graph, with n nodes and m edges (and connected: any 2 nodes can be linked by a path made of edges). You draw it on a sheet of paper, and doing so you divide the sheet into a bunch of disjoint areas.

Q2: How many areas do you have?

4/7
Final question! You have your planar graph G, but you'd like to apply some recursive algorithm, or feel sort of playful, and want to divide it in two "balanced" subgraphs G₁,G₂ almost disjoint.

Specifically, you'd like both G₁ and G₂ to have at least n/3 vertices each.

5/7
Now, to do that you may need to first remove a few nodes from G=(V,E), say t of them, and after that the remaining n-t nodes can be divided in two balanced sets V₁ and V₂ such that there is no edge in E going b/w V₁ and V₂.

Q3: how many nodes, t, do you have to remove?

6/7
That's all for today! Answers and discussions tomorrow, as usual. Please feel free to comment/ask questions below in the meantime... ↯

7/end
Missing some Tweet in this thread? You can try to force a refresh.

Keep Current with Clément Canonne

Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

Twitter may remove this content at anytime, convert it as a PDF, save and print for later use!

Try unrolling a thread yourself!

how to unroll video

1) Follow Thread Reader App on Twitter so you can easily mention us!

2) Go to a Twitter thread (series of Tweets by the same owner) and mention us with a keyword "unroll" @threadreaderapp unroll

You can practice here first or read more on our help page!

Follow Us on Twitter!

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3.00/month or $30.00/year) and get exclusive features!

Become Premium

Too expensive? Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal Become our Patreon

Thank you for your support!