The note proposes a simple algorithm for finding a cycle of fields in a matrix. This combinatorial problem arises in the potential method for transportation problem.