Question d’entretien chez Walmart

LeetCode hard problem. Some Java and database what is questions.