Question d’entretien chez Visa Inc.

Hackerrank array based question on moving up down left right.