For level order traversal why does this exception occur? Following exception occurs:
Cannot implicitly convert type \'System.Collections.Generic
System.Collections.Generic
There should be explicit conversion and as shown below:-
List> result = new List>();
or
var result = new List>();