Q7Single correct5 Marks31 Aug 2025
The following pseudocode is executed using the "Library" dataset. What will D represent at the end of the execution?
```
D = {}
while(Table 1 has more rows){
Read the first row X in Table 1
if(isKey(D, X.Author)){
if(D[X.Author] > X.Year){
D[X.Author] = X.Year
}
}
else{
D[X.Author] = X.Year
}
Move X to Table 2
}
```