title: Creating a Linked List with every Node referencing another Linked List
body: <p>I have a LinkedList of &quot;Groups&quot;, and each group has many &quot;Members&quot; inside of it. I am finding trouble making a LinkedList of &quot;Members&quot; for each group. As the question implies, I want to have each Node from the &quot;Groups&quot; LinkedList pointing at another LinkedList of &quot;Members&quot; for that same value of the Node.</p>
  <pre><code>    protected LinkedList &lt;Groups&gt; group_list = new LinkedList&lt;Groups&gt;();
      protected LinkedList &lt;Members&gt; members_list = new LinkedList&lt;Members&gt;();
  </code></pre>
  <p>What I was trying to do is create a method that adds members to the group based on the group number</p>
  <pre><code>@Override
  public void addMembertoGroup(int Group_no, String fullname, String Hobby, Date birthdate) {
      
  }
  </code></pre>
  <p>Searching for the &quot;Group_no&quot; value in the Nodes found in the Group list, then creating a LinkedList for that Node is the way to go in my solution, but I really do not know how to implement it properly.</p>