sivaram.hari299
BAN USERvoid stepDown (Node root) {
if ( root == null )
return;
Node LC = root.left;
Node RC = root.right;
boolean l1 = false;
boolean l2 = false;
if ( LC != null ) {
l1 = checkIsLeaf (LC);
}
if ( RC != null ) {
l2 = checkIsLeaf (RC);
}
if ( l1 == false )
stepDown (LC);
if ( l2 == false )
stepDown (RC);
root.info = LC.info + RC.info;
return;
}
boolean checkIsLeaf (Node root) {
if ( root == null )
return false;
else if ( root.left == null && root.right == null )
return true;
else
return false;
}
RepAchillesDiaz, Digital marketing Experinced at Jabong
I am working as a web administrator. I have a basic understanding of tools for testing HTML, CSS validation, Kerala ...
RepFannieRamirez, Accountant at A9
I am a technically skilled Payroll bookkeeper responsible for the full charge bookkeeping function. My expertise includes knowledge of accepted ...
RepCeliaParker, teacher at Illinoisstate
Experienced teacher with a background in education who is looking to complement graduate studies with the opportunity to teach at ...
- sivaram.hari299 March 13, 2014