Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
column
on Oct 16, 2013
|
parent
|
context
|
favorite
| on:
Coding Interview Tips
I would answer :
def reverse(str): return str[::-1]
Am I missing the point ?
prezjordan
on Oct 16, 2013
|
next
[–]
That creates a new string (the one returned) :)
freework
on Oct 16, 2013
|
prev
[–]
Thats what I would do. Then again, I always get rejected when I do these type of interviews...
Join us for
AI Startup School
this June 16-17 in San Francisco!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: