rtperson


Member since 05/23/2011

2 snippets

2001 profile views

0 Comment(s) Posted

View their favorites

their Tags


Profile

Achievement

first submission:submitting first snipplet popular snippet:having a snipplet with 20 favorites

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 769 posted 12 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 716 posted 12 years ago by rtperson
« Prev 1 Next »