lass="sd">        &quot;&quot;&quot;</span>
        <span class="c1"># print(&quot;  Nodes :&quot;, [i.data for i in nodes])</span>
        <span class="c1"># Remove the first occurence of the link :</span>
        <span class="n">J</span><span class="p">,</span> <span class="n">K</span> <span class="o">=</span> <span
            class="bp">self</span><span class="o">.</span><span class="n">split</span><span class="p">(</span><span
            class="n">nodes</span><span class="p">[</span><span class="mi">0