The function , defined by , is
Key idea: Find where increases and decreases on , then compare its range with the codomain .
Answer: (B)
Tagged One-one, onto functions and counting functions. Machine-assigned, so read it as a strong shortlist rather than a verdict.