Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Yes, this was my reaction, too, but after some thought, the first question is about seeing a pattern and converting it to an algorithm. I don't have a background in CS or math, so my initial reaction to a problem like that is "math! No fair!" but after some thought, it is just about patterns.

And, yes, if you've had high school geometry, you should be able to answer question #2 without much trouble.



Assuming one didn't graduate high school twenty years ago and may need some research time to recall equations that haven't been used since college.

Although, after reading the second one again I can agree that it shouldn't be too difficult to complete since he essentially tells you what to do; you just have to write the actual code. Well, assuming you don't have to write code to estimate for Pi and can just have 3.14 in there.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: