Description: The restriction <. H , Q >. of an Eulerian path <. F , P >. to
an initial segment of the path (of length N ) forms an Eulerian path
on the subgraph S consisting of the edges in the initial segment.
(Contributed by Mario Carneiro, 12-Mar-2015)(Revised by Mario
Carneiro, 3-May-2015)(Revised by AV, 6-Mar-2021) Hypothesis revised
using the prefix operation. (Revised by AV, 30-Nov-2022)