Pergunta de entrevista da empresa Courseplay

WTC for finding even and odd without using if condition?