Apple Interview Question

Why are pull up resistors necessary for I2C