Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
jlgreco
on Oct 4, 2012
|
parent
|
context
|
favorite
| on:
Fizzbuzz, Interviews, And Overthinking
I wonder what kind of answers he gets for that. I think I would probably answer that verbally as "sixteen, spelled
one-zero
".
just2n
on Oct 4, 2012
[–]
I would think that 'G' would also be correct, in a base higher than 16, just like how 11 is just 0xB, 013, and 0b1011, depending on your perspective.
jacalata
on Oct 5, 2012
|
parent
|
next
[–]
He asked 'in hex', which means 'in base 16'. It's not open to different perspectives.
just2n
on Oct 5, 2012
|
root
|
parent
|
next
[–]
Apparently I can't read today :).
jacalata
on Oct 5, 2012
|
root
|
parent
|
next
[–]
perhaps this is a good example of how even this question might count as 'tricky under high pressure' :)
dspeyer
on Oct 5, 2012
|
parent
|
prev
|
next
[–]
He explicitly said "hex"
andreasvc
on Oct 5, 2012
|
parent
|
prev
[–]
No that wouldn't be a hex(adecimal) number.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: