returns 0 based indexing of vertex . returns - 1 if no sink exits . returns the vertex number - 1 if sink is found
if ( vertex >= 0 ) Console . WriteLine ( " Sink ▁ found ▁ at ▁ vertex ▁ " + ( vertex + 1 ) ) ; else Console . WriteLine ( " No ▁ Sink " ) ; } }