Round 1
Questions:
- Based on swapping digits to get the largest number.
- Given an array of integers, find all pairs of integers (x, y) from the array that satisfy the following conditions:
- min(|x - y|, |x + y|) <= min(|x|, |y|)
- max(|x - y|, |x + y|) >= max(|x|, |y|)
Candidate's Approach
- For the first question, the candidate was able to solve it completely, earning 50 marks.
- For the second question, the candidate managed to pass 9 out of 15 test cases, resulting in 75 marks.
Interviewer's Feedback
No feedback provided.