reset password
Author Message
RandomAccess
Posts: 101
Posted 19:18 Apr 19, 2019 |

I'm a little confused on what output homework 3 is supposed to produce. It first says " Write a function that will search through the tree to see if it contains a student of age x. It returns true if there is, otherwise it returns false" then it says " Write a function that takes a string for last name uses depth-first search to find if a student with that name is in the tree." which function is going to be used to output true or false as is required of the assignment? Is it both? Is it a combined boolean value, and if so are we going by "and" or "or" functions? And if it's the former, does that mean one of these functions will go unused by the program? I would really appreciate an explanation.