title: Remove the biggest value from a linked list
body: <p>So I've said it in the title, I want to delete the biggest value from a LinkedList, can't get my head around how to exactly do it. I tried this but I get an error.</p>
  <pre><code>//Remove n from list 'first'
          public static void Remove(Node&lt;int&gt; first, Node&lt;int&gt; n)
          {
              Node&lt;int&gt; pos = first;
              while (pos.GetNext() != n)
                  pos = pos.GetNext();
              pos.SetNext(n.GetNext());
          }
          public static void DeleteMaxValue(Node&lt;int&gt; first)
          {
              int max = 0;
              Node&lt;int&gt; pos = first;
              Node&lt;int&gt; maxNode = null;
              while(pos.GetNext() != null)
              {
                  if (pos.GetNext().GetValue() &gt; max)
                  {
                      maxNode = new Node&lt;int&gt;(pos.GetNext().GetValue());
                  }
                      pos = pos.GetNext();
              }
              Remove(first, maxNode);
          }
  </code></pre>