Fidessa interview question

HackerRank c++ development test