Determine whether each of these functions from {a,b,c,d} to itself is bijection if it is than find f -¹.

1. f(a)=b, f(b)=a, f(c)=d, f(d)=c
2. f(a)=a, f(b)=b, f(c)=c, f(d)=d​​