Frontend Developer Interview Questions

13,270 frontend developer interview questions shared by candidates

An array of links is given: ["url1", "url2", ...] and a limit of simultaneous queries, we need to implement a function, which polls the url and calls the callback with an array of responses ["url1_answer", "url2_answer"] so that no more than limit is executed at any time, i.e. we need to implement a bus with width equal to limit. Requirements: The order in the answer array must match the order in the reference array The function must memoize (not interrogate the same url twice). Errors should not be handled. Use fetch
avatar

Frontend Developer

Interviewed at Wargaming

4.3
Apr 17, 2024

An array of links is given: ["url1", "url2", ...] and a limit of simultaneous queries, we need to implement a function, which polls the url and calls the callback with an array of responses ["url1_answer", "url2_answer"] so that no more than limit is executed at any time, i.e. we need to implement a bus with width equal to limit. Requirements: The order in the answer array must match the order in the reference array The function must memoize (not interrogate the same url twice). Errors should not be handled. Use fetch

Viewing 171 - 180 interview questions

Glassdoor has 13,270 interview questions and reports from Frontend developer interviews. Prepare for your interview. Get hired. Love your job.