Question: 28. As discussed in the class. Select the correct definition of sublist/2 (assuming append/3 provided) A. sublist(X,L) :- suffix(X.L), prefix(S, X) B. sublist(S,X) :- suffix(X.L),

28. As discussed in the class. Select the correct definition of sublist/2 (assuming append/3 provided) A. sublist(X,L) :- suffix(X.L), prefix(S, X) B. sublist(S,X) :- suffix(X.L), prefix(S, X). C. sublist(S.L) :- suffix(X.L), prefix(S, X) D. sublist(S,L):- suffix(L. ), prefix(S, X) E. sublist(S.X) :- suffix(X.L), prefix(S, X). :-Sll
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
