Q44Single correct3 Marks2 Apr 2023
Consider the following procedure, where `L1` and `L2` are two non-empty lists. `findSomething(L1, L2)` will return `True` when:
```
Procedure findSomething(L1, L2)
if(length(L1) != length(L2)) {
return(False)
}
while(length(L1) > 0) {
if(first(L1) != last(L2)) {
return(False)
}
L1 = rest(L1)
L2 = init(L2)
}
return(True)
End findSomething
```