50 likes | 182 Vues
This document delves into the principles of binary search trees and their applications in decision-making processes. It presents an engaging example of a counterfeit coin problem, where among eight coins, seven are identical in weight, and one is lighter. The exploration asks how many weighings are necessary to identify the counterfeit coin efficiently, highlighting optimal strategies for both binary searches and logical problem-solving.
E N D
Binary Search Tree • Example: • Marzano, Quinn, Lasher, Zimmer, Weening, Hillman, Nuhfer
Binary Search • If data is sorted first, what happens?
Binary search tree • Where is the optimal place to start?
Counterfeit coin ex • Suppose you have 7 coins of the same weight and 1 lighter counterfeit coin. How many weighings are necessary to find the counterfeit?