r/webdev • • Apr 07 '23

How I interview for FE positions

Post image
4.6k Upvotes

668 comments sorted by

View all comments

Show parent comments

1

u/vklepov Apr 07 '23

But you can sum the numbers in some way, can't you? It's pretty sad everyone thinks I'm wild enough to have THE ONE answer.

2

u/[deleted] Apr 07 '23

yea... my way feels stupid, just loop through em and add em to a counter...

... and about half way through I'd be like 'shit this is just reduce isn't it?' and then I'd ask chatgpt to do it.