The next vertex in the sequence would be v3.

Given the simple graph as shown below is the altering sequence v1 a1 v2 a5 v3 a3 v4 a4 v2 a1 v1 and then httpscorexjtlueducnpluginfilephp535211questionquestiontext244481291221436Q_AlteringSeq_Walk2png