MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/webdev/comments/12en4ph/how_i_interview_for_fe_positions/jfcferk
r/webdev • u/vklepov • Apr 07 '23
668 comments sorted by
View all comments
Show parent comments
1
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.
2
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.
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.