Arista Networks Interview Question

Find missing number, implement class and virtual function in C