String#
- Should the input contain only alphanumeric characters, or can it include other characters as well?
- How should uppercase and lowercase characters be treated—should they be considered equivalent or distinct?
Array#
- Is the input sorted?
- If the task involves sorting, should it be done in-place, or is extra space allowed?
- Is it permissible to modify the input array?
- Can the array contain duplicate values? If so, how should duplicate values be handled or treated?
Numbers#
- Are the numbers expected to be integers only, and if so, should they be positive, negative, or whole numbers?
- Is there any input constraint? How big can a number be?