Senior Front End Developer Interview Questions

1,429 senior front end developer interview questions shared by candidates

Serialise IDs from a nested tree of items
 const data = [
  { id: 1, items: [{ id: 4, items: [{id: 5}, {id: 6, items: [{id: 8}]}]}]},
  { id: 2, items: [{ id: 7}]},
  { id: 3 },
  { id: 9, items: [{id: 10, items: [{id: 12}]}, {id: 11}] }
];

// Should return [1, 2, 3, 9, 4, 7, 10, 11, 5, 6, 12, 8] 
avatar

Senior Front End Developer

Interviewed at Apple

4.1
Nov 10, 2017

Serialise IDs from a nested tree of items
 const data = [
  { id: 1, items: [{ id: 4, items: [{id: 5}, {id: 6, items: [{id: 8}]}]}]},
  { id: 2, items: [{ id: 7}]},
  { id: 3 },
  { id: 9, items: [{id: 10, items: [{id: 12}]}, {id: 11}] }
];

// Should return [1, 2, 3, 9, 4, 7, 10, 11, 5, 6, 12, 8] 

They asked me to explain how I would approach optimizing the performance of a web application. It was a great question because it allowed me to demonstrate my practical experience, talk about specific tools and techniques I use, and show how I think through real-world challenges.
avatar

Senior Front End Developer

Interviewed at EPAM Systems

4
Apr 18, 2025

They asked me to explain how I would approach optimizing the performance of a web application. It was a great question because it allowed me to demonstrate my practical experience, talk about specific tools and techniques I use, and show how I think through real-world challenges.

Viewing 61 - 70 interview questions

Glassdoor has 1,429 interview questions and reports from Senior front end developer interviews. Prepare for your interview. Get hired. Love your job.