Q26Single correct5 Marks7 Aug 2022
Consider the procedure given below.
```
Procedure doSomething(A, B)
L = []
i = 1, j = 1, p = "", q = ""
while(i <= A.LetterCount){
p = ith letter of A.Word
while(j <= B.LetterCount){
q = jth letter of B.Word
if(p == q and not(member(L, q))){
L = L ++ [q]
exitloop
}
j = j + 1
}
j = 1
i = i + 1
}
return(L)
End doSomething
```
Let X and Y be two rows in "Words" Table and X.Word = "computational" and Y.Word = "thinking", then, what will doSomething(X, Y) return?