Probing Flavor and CP in Decays of Beauty and Charm