blob: 305f020d53e8fe7bf4519711fd95796ff0516975 (
plain)
1
2
3
4
5
6
7
8
9
10
|
\SetLine
\ForAll{elements of $S_1$}{
remove an element e from $S_1$\;
put e in the set $S_2$\;
}
\lFor{i=1 \emph{\KwTo}max}{mark i}\;
\ForEach{$e$ in the set}{
put $e$ in ${\cal E}$\;
mark $e$\;
}
|