Compsci 201 Recitation 9 Professor Peck Jimmy Wei 10/25/2013

advertisement
Compsci 201 Recitation 9
Professor Peck
Jimmy Wei
10/25/2013
In this Recitation
• Trees practice
• Submit via Ambient this week!
Trees
• Snarf the code
• Complete the four methods in BST.java
– numLeaves
– levelCount
– hasPathSum
– findK
• Each method makes use of a recursive helper
function—you only need to write the helper,
and can leave the public method as is
• Submit via Ambient when complete!
Have a good weekend!
Don’t forget to submit!
Download