[求助]给我解释一下这个循环是怎样进行的?
Void creat_btree(iint *b_tree,int *nodelist,int len){inti,leave;;
B_tree[1]=nodelist[1];
For(i=2;i<len;i++)
{level=1;
While(b_tree[level]!=0)
{if (nodlist[i]< b_tree[level])
Level = 2*level;
Else
Level = 2*level+1;
}
b_tree[level] =nodlist[i];
}
}
给我解释一下这个循环是怎样进行的?