WayFair backend dev OA(Online assessment) questions | 26oct 2025 | Array Game (Wael and Aws) | Linked List Deletion (Multiple Choice)

Question · Posted Mar 2026

Problem 1: Array Game (Wael and Aws) Problem Description: Two players, Wael and Aws, are playing a game using two arrays, A and B, both of size N. The game consists of N/2 turns. In each turn: Wael picks two different unused indexes i and j. Aws picks one of them (either i or j). Let us call the index he chooses x. Aws then adds B[x] to his score. Let the other index be y. Wael adds A[y] to ...

The full answer & interview discussion are available to premium members.

Log in Create a free account