Two of the state’s top-performing schools – one public, one private – share the keys to their success.