Shortcut for chapter specific information

Showing posts with label insert sort perl. Show all posts
Showing posts with label insert sort perl. Show all posts

Thursday, April 21, 2011

29th writing of insertion sort (perl)

Still got it wrong.  Changed > to = in the second condition.  Should spot-check every condition before interpretation.

Tuesday, April 19, 2011

12th writing of insertion sort in perl

Bad.  Mostly language specific problem:
1, $i -> i
2, you can't do my $i,$j,$key, you can only do something like my ($i,$j,$key)

33_P