Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
what
6 months ago
|
parent
|
context
|
favorite
| on:
Self-taught engineers often outperform (2024)
And it doesn’t do what’s asked? Congrats.
userbinator
6 months ago
[–]
I just concentrated on what would be the hardest part, the "edge" cases (literally.) Wrapping that in a loop that goes through the appropriate indices is not much more work. There is a sibling dead comment to mine which has the rest.
peterfirefly
6 months ago
|
parent
[–]
Should probably use
>=
userbinator
6 months ago
|
root
|
parent
[–]
You're assuming closed instead of open intervals.
peterfirefly
5 months ago
|
root
|
parent
[–]
I was assuming zero-based arrays.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: