Pergunta de entrevista da empresa AtDrive Group

In coding round on HACKERRANK there are 4 pattern question but level is high