Check out a free preview of the full Tree and Graph Data Structures course:
The "Tree insert & remove Exercise" Lesson is part of the full, Tree and Graph Data Structures course featured in this preview video. Here's what you'd learn in this lesson:

Bianca instructs students to code the insert method for trees. Optionally, students are also challenged to write a remove method.

Get Unlimited Access Now

Transcript from the "Tree insert & remove Exercise" Lesson

>> Bianca Gandolfo: Let's jump in. We're gonna click our exercise button here. And it's gonna take you to code sandbox.
>> Bianca Gandolfo: And we want to jump into trees and we're gonna just do insert and remove right now. Once you start typing in code sandbox, it's gonna fork. And there's a test suite here where you can run against your test.