Arista Networks interview question

Find missing number, implement class and virtual function in C