TNT (trinitrotoluene) was not invented by Alfred Nobel. Nobel is famous for inventing dynamite, a stabilized form of nitroglycerin, in 1867. While Nobel made many contributions related to explosives and held 355 patents, TNT was discovered later and is a different chemical compound from dynamite. Alfred Nobel invented and patented dynamite by mixing nitroglycerin with porous substances to make it safer to handle. His invention made construction and mining much safer and more efficient. Nobel's work focused primarily on nitroglycerin-based explosives rather than TNT specifically.
If the question is strictly about who invented TNT, it would be someone other than Nobel, as his main invention was dynamite. I can look up the inventor of TNT if desired.