A shopkeeper has 2,187 identical balls, but one is slightly heavier.Using the concept of ternary decision tree, the puzzle is solved in 7 weighings.Ternary search is more efficient than binary search for this problem.