Logic sorting challenge
Sort the nodes. Satisfy the protocol.
Read each rule, swap the colored nodes into the correct order, then run verification before the system rejects the sequence.
Read each rule, swap the colored nodes into the correct order, then run verification before the system rejects the sequence.