At Google, data is king. Now the company is using data to figure out if it can anoint a few queens. The company hopes its famous algorithms can solve one of the most vexing problems facing Silicon Valley: how to recruit and retain more women. Google has generally been considered a place where women have thrived, but it wants to figure out how to compete even more vigorously for the relatively few women working in technology. Executives had been concerned that too many women dropped out in the interviewing process or were not promoted at the same rate as men, so they created algorithms to pinpoint exactly when the company lost women and to figure out how to keep them.