the finishe of stack_formed_queue
the algorithm of find one