Comment by imglorp Comment by imglorp 3 hours ago 2 replies Copy Link View on Hacker News > “How can you sum the numbers from 1 to 10 without using a loop?”Sum = n(n+1)/2
Copy Link KingMob 2 hours ago Collapse Comment - Yeah, I assume it's missing some context that the numeric solution was off the table. Reply View | 1 reply Copy Link javcasas 2 hours ago Parent Collapse Comment - When all you know is hammers, all you can think of are nails. Screws are impossible to use and understand. How are you supposed to hammer in a screw? All those ridges are in the way! Reply View | 0 replies
Copy Link javcasas 2 hours ago Parent Collapse Comment - When all you know is hammers, all you can think of are nails. Screws are impossible to use and understand. How are you supposed to hammer in a screw? All those ridges are in the way! Reply View | 0 replies
Yeah, I assume it's missing some context that the numeric solution was off the table.