QA Engineer
Test sorting without listing every possible input.
- 1Your approach
- 2The follow-up
- 3Reflect & learn
THE INTERVIEWER ASKS
The scenario
Design property-based tests for a function that sorts integer arrays without mutating the input.
How would you approach it?
Explain your assumptions, your approach, and why you chose it.