Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
Daneel_
53 days ago
|
parent
|
context
|
favorite
| on:
Here is the 15 sec coding test I used to instantly...
The logic results in 3 + 3 - 5 = 1, so it's not 5, sorry.
I'd love to know what logic path you followed to get 5 though!
commandlinefan
53 days ago
|
next
[–]
I did it in my head but got 4 (3 * 3 - 5), so I fail, too. Hopefully I'd be paying closer attention if I was actually applying for a job.
spike021
53 days ago
|
parent
|
next
[–]
where did your multiplication come from?
commandlinefan
53 days ago
|
root
|
parent
|
next
[–]
From not paying close attention :)
krackers
53 days ago
|
prev
[–]
Presumably you'd get it if you short-circuited and didn't evaluate the else part.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
I'd love to know what logic path you followed to get 5 though!