A Young tableau is a 2D array of integers increasing from left to right and from top to bottom. Any unfilled entries are marked with \(\infty\), and hence there cannot be any entry to the right of, or below, a \(\infty\). The following Young tableau consists of unique entries.\[\begin{array}{|c|c|c|c|}\hline 1 & 2 & 5 & 14\\ \hline 3 & 4 & 6 & 23\\ \hline 10 & 12 & 18 & 25\\ \hline 31 & \infty & \infty & \infty\\ \hline \end{array}\]When an element is removed from a Young tableau, other elements should be moved into its place so that the resulting table is still a Young tableau (unfilled entries may be filled in with a \(\infty\)). The minimum number of entries (other than 1) to be shifted, to remove 1 from the given Young tableau is
GATE CS 2015 · Set-2 · Asymptotic Analysis & Recurrences
Solve it on GATE DA practice →More Searching & Sorting Algorithms problems