Wayfair Interview Experience | SDE Intern | 2024-25

Question · Posted Feb 2025

Wayfair - SDE Intern Interview Experience Online Assessment (OA) Platform: HackerRank Duration: 50 minutes Number of Questions: 2 Question 1: Given a string, insert 'a' into it such that no three consecutive 'a's appear. Return the maximum number of 'a's that can be inserted. Example: Input: "dog" Output: 8 (Possible result: "aadaaoaagaa") Question 2: Given three integers A, B, C, representing the count of letters 'a', 'b', and 'c', return a string containing exactly A 'a's, B 'b's, and C ...

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

Log in Create a free account