Question: Based on the given information ,where X ={1,2,3,4,5 } and Y={a,b,c} and the mapping F:X->Y is as below: Element 1 and 3 in X mapped
Based on the given information ,where X ={1,2,3,4,5 } and Y={a,b,c} and the mapping F:X->Y is as below:
Element 1 and 3 in X mapped to a.
Element 2 and 5 in X mapped to b.
Element 4 in X is mapped to c.
write an efficient algorithm to find a pair of elements in X such that the function has one-to-one relation.
Step by Step Solution
3.51 Rating (171 Votes )
There are 3 Steps involved in it
To find a pair of elements in X that have a onetoone relation in the given mapping FXY we can iterat... View full answer
Get step-by-step solutions from verified subject matter experts
