Pergunta de entrevista da empresa Tecmo Koei Singapore

basic question on DSA and coding process