Senior Full Stack Engineer Interview Questions

813 senior full stack engineer interview questions shared by candidates

One of the questions: Write a function that takes an array of objects, and returns an object that has keys based on attributes of the original array. Input: [ {name: "prod1", variants: [{size: "32B", name: "prod1"}, {size: "32C", name: "prod1"}, {size: "32D", name: "prod1"}]}, {name: "prod2", variants: [{size: "30A", name: "prod2"}, {size: "32C", name: "prod2"}, {size: "32B", name: "prod2"}]}, {name: "prod3", variants: [{size: "30A", name: "prod3"}, {size: "34C", name: "prod3"}, {size: "34D", name: "prod3"}]}, {name: "prod4", variants: [{size: "28B", name: "prod4"}, {size: "32C", name: "prod4"}, {size: "34D", name: "prod4"}]}, ] Output: { 28B: [{size: "28B", name: "prod4"}], 30A: [{size: "30A", name: "prod2"}, {size: "30A", name: "prod3"}], 32B: [{size: "32B", name: "prod1"}, {size: "32B", name: "prod2"}], 32C:Array[3] 32D:Array[1] 34C:Array[1] 34D:Array[2] }
avatar

Senior Full Stack Engineer

Interviewed at ThirdLove

2.7
Jan 5, 2017

One of the questions: Write a function that takes an array of objects, and returns an object that has keys based on attributes of the original array. Input: [ {name: "prod1", variants: [{size: "32B", name: "prod1"}, {size: "32C", name: "prod1"}, {size: "32D", name: "prod1"}]}, {name: "prod2", variants: [{size: "30A", name: "prod2"}, {size: "32C", name: "prod2"}, {size: "32B", name: "prod2"}]}, {name: "prod3", variants: [{size: "30A", name: "prod3"}, {size: "34C", name: "prod3"}, {size: "34D", name: "prod3"}]}, {name: "prod4", variants: [{size: "28B", name: "prod4"}, {size: "32C", name: "prod4"}, {size: "34D", name: "prod4"}]}, ] Output: { 28B: [{size: "28B", name: "prod4"}], 30A: [{size: "30A", name: "prod2"}, {size: "30A", name: "prod3"}], 32B: [{size: "32B", name: "prod1"}, {size: "32B", name: "prod2"}], 32C:Array[3] 32D:Array[1] 34C:Array[1] 34D:Array[2] }

- What is your current salary? - How have you applied SOLID principles and clean code in your projects? - How have you made sure that your projects are scalable, clean and maintainable? - Have you worked with micro services in X or Y project? - Why have you left all of those previous companies? - What is your current salary?
avatar

Senior Full Stack Engineer

Interviewed at Fever

3.5
Sep 19, 2023

- What is your current salary? - How have you applied SOLID principles and clean code in your projects? - How have you made sure that your projects are scalable, clean and maintainable? - Have you worked with micro services in X or Y project? - Why have you left all of those previous companies? - What is your current salary?

Viewing 731 - 740 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 813 interview questions and reports from Senior full stack engineer interviews. Prepare for your interview. Get hired. Love your job.