arnold28
- 14
- 0
Homework Statement
Are the given functions injective? Surjective?
a) seq: N -> Lists[N]
b) f: Lists[A] -> P(A), f(x)=(<x1,x2,...,xn>)={x1,x2,...,xn}
Homework Equations
The Attempt at a Solution
a) Ok so the domain contains a sequence of natural numbers.
and the range contains a list? What is that list? Is it all lists possible? If it means all lists possible, then a) is injective and surjective?