Sponsored
Use these hints if you're stuck. Try solving on your own first.
Use the idea that abs(A) + abs(B) = max(A+B, A-B, -A+B, -A-B).
Solve with full IDE support and test cases