Returns with the iterator of the argument.
Generator for breadth first tree traversal iteration.
Returns an iterator that cycles indefinitely over the elements of iterable.
startis given it starts the iteration from that element. Otherwise, it starts with the first element of the array.
startis given, it must contain by the
elementsarray. Otherwise, an error will be thrown.
Warning: Typical uses of the resulting iterator may produce an infinite loop. You should use an explicit break.
Generator for depth first, pre-order tree traversal iteration.