Lowe's stock surged Wednesday after the home improvement retailer reported better profits than analysts had expected, a day after rival Home Depot's profits fell short.