PPT Slide
mem2(2,[1,2,3])
mem2(2,[2,3])
mem2(2,[3])
mem2(2,[])
A
A
A
A
B
B
B
B
/*A*/ mem2(X,[_|T]) :- mem2(X,T)./*B*/ mem2(X,[X|_]).
*
mem2 - Search Structure
Previous slide
Next slide
Back to first slide
View graphic version