



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




7/8/
1
7/8/
7/8/
4
Prepend^ – prepend(a,L) = {a} if L=
Ф
Append recursively^ – Append(L, a) = {a} if L=
Ф
7/8/
5
Length(L) = 0 if L =
Otherwise^ – Length(L) = 1 + length(tail(L))