Indian stock markets ended higher on Wednesday, reversing early losses with the Nifty 50 crossing 26,000 to a three-week high and the Sensex also gaining significantly. Banking stocks led the recovery, pushing the Nifty Bank index to a record. Technology shares were strong performers, with Wipro, HCLTech, and Infosys among top gainers. Midcap stocks underperformed the broader market indices.