Young Tableau problem - CormenYoung Tableau A a X b matrix is Young Tableau if all rows(from left to right…