A key measure of inflation was flat in October, according to newly released government data, raising hopes that the still-healthy economy can avoid a recession even as inflationary pressure continues to dissipate.