is this an error? I think 100579234/555806774 is supposed to be 1, right? and I have tried it in python terminal
Input: 100579234, 555806774 Output: 1 Expected: 0

From the ANSI C draft (3.3.5):
If either operand is negative, whether the result of the / operator is the largest integer less than the algebraic quotient or
the smallest integer greater than the algebraic quotient is
implementationdefined, as is the sign of the result of the %
operator. If the quotient a/b is representable, the expression (a/b)*b a%b shall equal a.
Thus, different compilers can have different implementations and either way is correct. In a real interview, you should be fine to do however you want. And I assume interviewer will be pleased you can point out the potential ambiguous here. However, if someone says 5/2 must equal to 2 without indicate the expected behaviour, he or she is not qualified to ask this question at all, and please don't bother joining the team.