Implement reduce, then map and filter on top of it

0
Remix

In any language, implement reduce yourself, then implement map and filter using only your reduce. Then use the three functions to process a small table of records the interviewer gives you (for example, select some rows, transform fields and compute a total).

TeslaTechnical phone screenLast asked Sep 2026
No answer yet. Write the first one; the best answer gets endorsed.