Yahoo and Google announced a deal to put the Internet search king’s expertise to work pumping money from advertising posted next to Yahoo Internet search results. Google and Yahoo began discussing an alliance in early February, shortly after Microsoft offered to buy Yahoo, said Google chief executive Eric Schmidt.