Lead Front End Developer Interview Questions

8,612 lead front end developer interview questions shared by candidates

Implement a method mergeData, which is used to return a unified view of each user's activities by merging data from each user. It has the interface mergeData(sessions). Sessions from the same user should be merged into one object. When merging: Sum up the duration fields. Combine all the equipment used, de-duplicating the values and sorting alphabetically. The order of the results should always remain unchanged from the original set, and in the case of merging sessions with the same users, the row should take the place of the earliest occurrence of that user. The input objects should not be modified.
avatar

Front End Developer

Interviewed at Wix

4.1
Sep 9, 2025

Implement a method mergeData, which is used to return a unified view of each user's activities by merging data from each user. It has the interface mergeData(sessions). Sessions from the same user should be merged into one object. When merging: Sum up the duration fields. Combine all the equipment used, de-duplicating the values and sorting alphabetically. The order of the results should always remain unchanged from the original set, and in the case of merging sessions with the same users, the row should take the place of the earliest occurrence of that user. The input objects should not be modified.

Viewing 8301 - 8310 interview questions

Glassdoor has 8,612 interview questions and reports from Lead front end developer interviews. Prepare for your interview. Get hired. Love your job.