Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Recursive Character Search and Destroy

Name: Anonymous 2007-05-11 16:50 ID:tCgeez6Q

I receive a string, and I want to remove any 'a', 'b' and 'c' characters, in a recursive way.

How do I do this in C and Java?

Thanks

Name: Anonymous 2007-05-12 20:14 ID:1BaoTvIh

>>63
Recursive character removal is ENTERPRISE QUALITY.

Name: Anonymous 2007-05-12 20:23 ID:Heaven

>>63
s/return //

Name: Anonymous 2007-05-12 20:44 ID:fmdmxFJk

>>64
No. Enterprise would never do anything smart, like recursion.

Name: Anonymous 2007-05-12 20:51 ID:1BaoTvIh

>>66
Recursion in general isn't ENTERPRISE QUALITY. However, using recursion to do character removal with O(n^2) space usage is definitely ENTERPRISE QUALITY.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List