blob: d8667fc333b551d6ed052c9b6754a855d3310b93 (
plain)
1
2
3
4
5
6
7
8
9
10
|
\SetAlgoLined
\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$\;
}
|