Node<Integer> soln = question(n,n,null);
where question(n,n,null)
returns null, now i want to output the result as "no solution";
i wrote
Node<Integer> soln = question(n,n,null);
if(soln==null) System.out.println("no solution");
An error occurs, what shall i do?