careercup / CtCI-6th-Edition

Cracking the Coding Interview 6th Ed. Solutions
11.33k stars 4.41k forks source link

Removed redundant node #222

Open gnongsiej opened 3 years ago

gnongsiej commented 3 years ago

An extra node was added to the source BST that did not match the input.

This made the algorithm generate an additional 90 insertion schemes which were not necessary.