Post-interview FE Coding Insights in 2025
Uber 60-min FE Interview - mid-July
Problem: on Hackerrank online IDE, given the function definitions, implement certain logic to obtain the expected output while ensuring the function calls running in parallel.
Note that (based on clarification made by the interviewer):
- Only JS/TS allowed for this problem;
- The function of
getNameById
is meant to simulate certain time consuming task; no change should be made other than underTODO
insideasyncMap
; callback
param passed intogetNameById
is not the same as that inasyncMap
.
1 | function getNameById(id, callback) { |