Member since 05/23/2011

2 snippets

1381 profile views

0 Comment(s) Posted

View their favorites

their Tags



first submission:submitting first snipplet

rtperson's Recent SnippetsTagged c

« Prev 1 Next »
Two versions of binary search -- one recursive, one iterative -- for an array of strings. Both assume that your array index fits within an integer.
0 620 posted 11 years ago by rtperson
Check that a given integer consists only of elements of a given set. It does a linear search through the set, so the assumption is that the set to search is relatively small. If you're chewing through a particularly large set of digits, you may want...
0 551 posted 11 years ago by rtperson
« Prev 1 Next »