2177. Find Three Consecutive Integers That Sum to a Given Number Poison 2023-06-24 1234567891011class Solution { public long[] sumOfThree(long num) { if (num % 3 != 0) { return new long[0]; } long b = num / 3; long a = b - 1, c = b + 1; return new long[]{a, b, c}; }} References2177. Find Three Consecutive Integers That Sum to a Given Number