Front End Software Engineer Interview Questions

12,564 front end software engineer interview questions shared by candidates

Write a function which takes an array and number and if the number given is greater than array length then return element before last element. for example take(['a', 'b', 'c', 'd'], 10) should return [a, b, c, d, c, b, a, b, c, d]
avatar

Front End Developer

Interviewed at OVO

2.7
Feb 13, 2020

Write a function which takes an array and number and if the number given is greater than array length then return element before last element. for example take(['a', 'b', 'c', 'd'], 10) should return [a, b, c, d, c, b, a, b, c, d]

Viewing 421 - 430 interview questions

See Interview Questions for Similar Jobs

Glassdoor has 12,564 interview questions and reports from Front end software engineer interviews. Prepare for your interview. Get hired. Love your job.