this is a simple recorsive method that print all leaves of a binary tree:
public static void level(Node n)
{
if(n!=null)
{
...
Type: Posts; User: oshikoren
this is a simple recorsive method that print all leaves of a binary tree:
public static void level(Node n)
{
if(n!=null)
{
...