Partition into Triangles

Input

Graph G=(V,E)G = (V,E) with V=3q|V| = 3q for some integer qq.

Question

Can the vertices of GG be partitioned into qq disjoint sets V1,V2,,VqV_1, V_2, \dots, V_q, each containing exactly 3 vertices, such that for each Vi={ui,vi,wi}V_i = \{u_i, v_i, w_i\}, 1iq1 \leq i \leq q, all three of the edges {ui,vi}\{u_i, v_i\}, {ui,wi}\{u_i, w_i\}, and {vi,wi}\{v_i, w_i\} belong to EE?

Classes

Comments

See Partition into Isomorphic Subgraphs for a generalization.

Proofs

NP-complete

Transformation from 3-Dimensional Matching.

Reducible from