3 ms·
I suppose you could first convert the string to a list of characters and use integers as a replacement for pointers. You could then modify the list in place.
by masterj 16y ago
I suppose you could first convert the string to a list of characters and use integers as a replacement for pointers. You could then modify the list in place.
- deleted 16y ago[deleted]
- SMrF 16y agoI submitted the python solution. I changed the problem to accept a list. I was guessing this preserved the integrity of the problem, although I don't really know C so I couldn't be certain. I explained as much when I emailed my solution.