title: Complexity of grouping in Java8
body: <p>I would like to learn the time complexity of the given statement below.(In Java8)</p>
  
  <pre><code>list.stream().collect(groupingBy(...)); 
  </code></pre>
  
  <p>Any idea?</p>