Sponsored
Use these hints if you're stuck. Try solving on your own first.
Try exploring all integers. (Credits: @annujoshi)
Use the sorted property of integers to reduced the search space. (Credits: @annujoshi)
Solve with full IDE support and test cases