n class="n">E1</span> <span class="o">=</span> <span class="n">union_treap</span><span
            class="p">(</span><span class="n">J</span><span class="p">,</span> <span class="n">K</span><span
            class="p">)</span>
            <span class="n">E2</span> <span class="o">=</span> <span class="n">L</span>

        <span class="c1"># print(&quot;  E1 after cut : \n&quot;, E1)</span>
        <span class="c1"># E1.plot(&quot;E1 after cut &quot; + repr(nodes[0].data))</span>
        <span class="c1">#</