On 03/21/2017 01:16 PM, David McBride wrote: > Whether your algorithm is correct depends on how you are supposed to > rebalance them. My naive attempt gives very different results. > You guys are trying to hard. Here's an algorithm that meets the stated requirements: balance _ = ""