Coding onto and one-to-one function detector in C/C++

后端 未结 0 1845
醉梦人生
醉梦人生 2021-01-03 02:58

Q:Given a function f from {1, 2...,n} to the set of integers, determine whether f is one-to-one OR onto.

I understand how the logic works for both these types of func

相关标签:
回答
  • 消灭零回复
提交回复
热议问题