Q9Single correct4 Marks1 Sep 2024
Consider the following procedure, where L1 and L2 are two non-empty lists. When will return True?
```
Procedure findSomething(L1, L2)
if(length(L1) != length(L2)){
return(False)
}
while(length(L1) > 0){
if(last(L1) != last(L2)){
return(False)
}
L1 = init(L1)
L2 = init(L2)
}
return(True)
End findSomething
```