Online Course Discussion Forum

Intro to Algorithms

 
 
JinAiden的头像
Intro to Algorithms
JinAiden - 2020年08月6日 Thursday 18:28
 

For question 4, the BSTadd function doesn't seem to be adding to the Binary Tree and always returns True. So I'm confused as to how we are meant to build a Binary Search Tree using it.

 
LensmireJohn的头像
Re: Intro to Algorithms
LensmireJohn - 2020年08月7日 Friday 10:03
 

Thanks for noticing this. You're correct there's a mistake here.

The code should be updated on the coursepage (and you should have just gotten a message about it as well).