IMC Trading interview question

Example RTL design question