We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
Can anyone clarify what they mean by "a valid function"? My understanding is that each domain value must map to only 1 value in the range. But the relationship can be arbitrary.
Does the question imply one-to-one functions (where the inverse is also a function)?
Are they looking for relationships that can be represented by algebraic expressions? Why not trig functions?
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Functions or Not?
You are viewing a single comment's thread. Return to all comments →
Can anyone clarify what they mean by "a valid function"? My understanding is that each domain value must map to only 1 value in the range. But the relationship can be arbitrary.
Does the question imply one-to-one functions (where the inverse is also a function)?
Are they looking for relationships that can be represented by algebraic expressions? Why not trig functions?