Arista Networks interview question

1. Find the missing number in a continuous array 2. point out what would be the outputs for a bunch of pointer based code etc.