Labs Interview Questions

142 labs interview questions shared by candidates

Codility : 1. Find a bug (it was super, easily like fixing one line in a for loop type easy) 2. Create a good string: ie. a string where a letter doesn't repeat more than twice. Ie. "bbbacc" -> "bbacc" 3. Given 3 integers which represent the counts of "a", "b" and "c" respectively, can you rearrange them such that they form a good string? Ie. if you have (1,3,2) which is "abbbcc", which is a bad string, you can rearrange it like "bbabcc" which is a "good string" (nothing repeats more than twice). Here, they want you just to solve, and care less about big O. Be wary though they will test extremely large inputs and will have a timeout if your program stalls too long. Granted, I was able to solve all but one test case and still moved forward. Phone Screen: Super general... tell me about resume, projects, " a time when ...", you're not reading this for the phone screen questions Tech Interview: I read all of these reviews are prepared for all sorts of array and string questions, which might have been the norm? But I received a OOD-esque question which sadly caught me off gaurd. "Design an Warehouse Manager class that has two methods addProduct() which adds a product to a warehouse via its product Id and then returns the count of that product. and canShip() which takes in an array of productIds and determines if there is enough stock of each item to ship a given order.
avatar

Wayfair Labs

Interviewed at Wayfair

3.1
Oct 31, 2019

Codility : 1. Find a bug (it was super, easily like fixing one line in a for loop type easy) 2. Create a good string: ie. a string where a letter doesn't repeat more than twice. Ie. "bbbacc" -> "bbacc" 3. Given 3 integers which represent the counts of "a", "b" and "c" respectively, can you rearrange them such that they form a good string? Ie. if you have (1,3,2) which is "abbbcc", which is a bad string, you can rearrange it like "bbabcc" which is a "good string" (nothing repeats more than twice). Here, they want you just to solve, and care less about big O. Be wary though they will test extremely large inputs and will have a timeout if your program stalls too long. Granted, I was able to solve all but one test case and still moved forward. Phone Screen: Super general... tell me about resume, projects, " a time when ...", you're not reading this for the phone screen questions Tech Interview: I read all of these reviews are prepared for all sorts of array and string questions, which might have been the norm? But I received a OOD-esque question which sadly caught me off gaurd. "Design an Warehouse Manager class that has two methods addProduct() which adds a product to a warehouse via its product Id and then returns the count of that product. and canShip() which takes in an array of productIds and determines if there is enough stock of each item to ship a given order.

Viewing 11 - 20 interview questions

Glassdoor has 142 interview questions and reports from Labs interviews. Prepare for your interview. Get hired. Love your job.