Latest News Jan 7 11:36PM EST 

The winners page is now online. Find out more about our winners and read their contest stories! We've also posted some statistics and commentary about the evolution of the contest and an analysis of some of the code

Per Rutquist is our overall MATLAB Golf Champion. He came away with two first place finishes and two second place finishes. We'll send him a MATLAB Jacket.

Congratulations to all of our first-place finishers: Guy Shechter, Imre Polik, Stijn Helsen, Per Rutquist, Claus Still, François Glineur, and Nicke. You will each receive a MATLAB toolkit.

You can now download the full testsuites used in the contest from the File Exchange.

If you'd like to hear about the next contest, sign up for our Contest Announcement mailing list. To subscribe send e-mail to lists@mathworks.com with subscribe contest-announce in the body.

All holes: frequencies, palindrome, encryption, infection, heaviest, pathfinder, and snake.

Passing Entries

Place Submitted Entry Author Length Speed
11:59:35 cont Andrei Brusnikin 36 0.07
11:59:28 blah10 Ricky Debnath 75 0.54
11:58:26 blah2 Ricky Debnath 75 0.55
11:57:08 j123 Ben Mitch 36 0.06
11:56:58 spr4 Ned Krouchev 62 0.16
11:56:25 j1-- Jason Friedman 36 0.07
11:56:23 Simplified Ray Salem 37 0.04
11:55:47 !! Firas Zeineddine 95 0.12
11:55:21 wrs-3 Will Schleter 36 0.06
11:54:13 j1-tweak Nicke 36 0.07
11:54:05 bc_e18 bodycoding 36 0.07
11:53:20 A bit better :-) Imre Polik 57 0.14
11:52:28 cheatandprosper SriSun 58 0.05
11:51:44 still prettier 3 Ned Krouchev 62 0.14
11:51:43 Pretty good: correction Christopher Cheng 70 0.12
11:51:29 2 Erlend 56 0.11
11:50:58 one less Yuval Cohen 36 0.05
11:50:58 martijn 7 Martijn Visser 36 0.07
11:50:44 diffShuffle Ben Tarlow 56 0.11
11:50:34 need a comma? benjamin j jefferson 36 0.07
11:50:33 Pretty correct coldtortuga 58 0.15
11:50:04 improvement Juan Caicedo 70 0.07
11:49:26 j2.1 Niilo Sirola 36 0.06
1 11:49:03 j11 Guy Shechter 36 0.06
11:48:38 8th Mohsen Nosratinia 59 0.12
11:48:19 shuffle Ben Tarlow 56 0.11
11:45:42 hmmmm jed pack 60 0.10
11:45:23 ok!!! Firas Zeineddine 97 0.10
11:44:26 fore take 3 Dennis Jackson 77 0.09
11:43:23 Even better? Peter J. Acklam 57 0.11
11:43:17 still prettier 2 Ned Krouchev 60 0.11
11:43:09 let's try Juan Caicedo 72 0.07
11:42:28 bc_e11bis bodycoding 83 0.10
11:42:28 Bob4 Tristram Scott 79 0.26
11:41:19 wrs-2 Will Schleter 62 0.09
11:38:21 smallnumbersonly john arthur 89 0.07
11:37:09 E-minus II Per Rutquist 56 0.11
11:35:55 , Firas Zeineddine 63 0.12
11:34:47 E-minus Per Rutquist 57 0.11
11:33:45 Bob3 Tristram Scott 90 0.22
11:33:30 Pretty Good Tweak Claus Still 59 0.12
11:30:17 optimum Firas Zeineddine 59 0.12
11:29:53 my4 Michael Yampol 82 0.29
11:26:13 really_really1 Ned Krouchev 71 0.23
11:25:54 cyclist_4 cyclist 112 0.23
11:24:31 hmmm jed pack 76 0.25
11:21:02 Yrite 4 Niilo Sirola 57 0.11
11:20:30 L7 Larry Reitman 84 0.61
11:19:52 Peter's attempt #6 Peter J. Acklam 71 0.23
2 11:19:18 j1 Julian 37 0.06
11:19:05 tweak guy Luis F. Gutierrez 77 0.09
11:18:52 Ignorance is bliss Johan Hellström 87 0.26
11:17:04 small optimization Fabris 60 0.11
11:15:59 tweak lazlo some more walter kuhn 86 0.27
11:14:06 superfreq5 Dave Landhuis 83 0.19
11:13:54 7th try! (trimmed 6th) Mohsen Nosratinia 83 0.27
11:13:31 different tweak Luis F. Gutierrez 71 0.23
11:12:48 well, its ok jed pack 80 0.66
11:12:00 alfa Eugene 88 0.65
11:11:59 1st try roy liang 86 0.29
11:11:28 justtry Mina Ayman Makar 89 0.26
11:11:10 randperm_2 Stijn Helsen 86 0.27
11:11:05 randperm3 Juan Caicedo 87 0.26
11:10:17 twister coldtortuga 143 0.19
11:09:50 randperm 4 Arvin Tang 86 0.27
11:09:32 L6 Larry Reitman 86 0.59
11:09:27 my3 Michael Yampol 81 0.27
11:09:25 nolength philipp batchelor 87 0.33
11:09:20 superfreq4+ Jason Friedman 82 0.10
11:09:10 just a thought benjamin j jefferson 87 0.26
11:08:55 first13 Laszlo Sragner 82 0.25
11:08:33 long, but runs fast GU.M 162 0.07
11:08:24 MikeE1 Mike E 92 0.09
11:08:12 funny3 wu vincent 86 0.66
11:08:08 first12 Laszlo Sragner 101 0.27
11:07:59 Bustling Beaver Colin Ross 89 0.26
11:07:28 randperm_mitch Ben Mitch 87 0.67
11:06:32 blow dry Mr Rev Jon Boy 85 0.26
11:06:28 size Baran Dilber 88 0.27
11:06:24 Bob2 Tristram Scott 97 0.21
11:05:50 repmat Hap Hanna, Dave Dilley 91 0.80
11:05:38 later now Luis F. Gutierrez 86 0.27
11:05:13 my2 Michael Yampol 86 0.27
11:04:48 yrite 2b Niilo Sirola 84 0.27
11:04:20 D End 2 Eli Horn 86 0.27
11:03:22 randperm_1 Stijn Helsen 80 0.27
11:02:56 first10 Laszlo Sragner 103 0.27
11:02:55 randperm2 Jim Van Spengen 87 0.26
11:02:29 randperm 3 Arvin Tang 87 0.26
11:02:12 fore take 2 Guy Shechter 80 0.09
11:01:11 L5 Larry Reitman 87 0.58
11:00:06 2shameless Jeff Hebert 89 0.26
10:58:29 superfreq4 Dave Landhuis 85 0.10
10:58:17 yrite 2 Niilo Sirola 86 0.28
10:57:25 Shameless Jeff Hebert 91 0.26
10:55:49 first7 Laszlo Sragner 105 0.26
10:55:23 trivial tweak of randperm Bill Ennis 87 0.26
10:54:59 first6 Laszlo Sragner 116 1.72
10:54:27 test13 Peng 88 0.27
10:53:52 L3 Larry Reitman 90 0.58
10:53:31 array based 1 AJ 115 0.11
10:53:19 just shorter 2 Randall Million 87 0.26
10:53:14 D End Eli Horn 87 0.27
10:52:30 Prettier Per Rutquist 66 0.16
10:52:00 just a test of the system hull 104 0.26
10:51:03 randperm 2 Wes Hildebrandt 87 0.26
10:50:27 my Michael Yampol 87 0.26
10:50:18 no_call_to_length Mike Leventon 85 0.27
10:49:38 still early Luis F. Gutierrez 84 0.10
10:49:31 Peter's attempt #5 Peter J. Acklam 80 0.27
10:48:45 uh jed pack 85 0.27
10:48:07 Good luck to everyone Eli Horn 90 0.25
10:47:45 new_randperm Matt Johnson 87 0.26
10:47:40 matgolffreq Will Schleter 87 0.26
10:47:12 top3 Philip Top 86 0.27
10:47:03 P#4 Per Rutquist 80 0.27
10:46:16 L2 Larry Reitman 92 0.58
10:45:55 tweak first3 Luis F. Gutierrez 86 0.27
10:45:03 new randperm prudhvi chintalapati 88 0.27
10:44:53 oh jed pack 85 0.26
10:44:39 tweaked randperm walter kuhn 87 0.26
10:44:02 updatedFirst2.1 Dennis Jackson 87 0.26
10:43:30 randperm_0 Stijn Helsen 87 0.26
10:43:21 top2 Philip Top 88 0.26
10:43:02 different from my previous try2 Christopher Cheng 71 0.23
10:42:46 first5 Laszlo Sragner 84 0.25
10:42:40 bish Jeff Foster 87 0.27
10:41:12 copycat copycat 89 0.34
10:39:26 not so early Luis F. Gutierrez 87 0.11
10:39:03 Boh IV William 89 0.11
10:38:05 permutulator4 GreatRumpuscat 86 0.26
3 10:37:40 Pretty good Mark Bartsch 60 0.11
10:37:05 6th try! Mohsen Nosratinia 83 0.27
10:36:54 I can't play golf Yuval Cohen 89 0.26
10:36:37 two-shorter Bert Jagers 90 0.26
10:36:01 L1 Larry Reitman 99 0.59
10:35:58 updatedFirst2 Dennis Jackson 89 0.26
10:35:47 try_very_often_2 Thao Dang 92 0.21
10:35:45 tweek lfg Guy Shechter 88 0.19
10:35:23 freq 2 Emmanuel Lange 90 0.27
10:35:17 just shorter Randall Million 89 0.26
10:35:07 tweak lazlo 2 Luis F. Gutierrez 89 0.26
4 10:34:57 different from my previous Christopher Cheng 77 0.24
10:34:24 ok jed pack 88 0.26
10:34:20 freqsort4 Bill Ennis 100 0.22
10:33:03 5th try Mohsen Nosratinia 87 0.27
10:32:55 permutulator3 GreatRumpuscat 87 0.26
10:32:54 first2B David O'Brien 89 0.26
5 10:32:50 small optimizations Jason Friedman 87 0.26
10:32:09 tweak lazlo Luis F. Gutierrez 90 0.25
10:31:51 permutulator2 Great Rumpuscat 90 0.26
10:31:22 funny2 wu vincent 89 0.27
10:31:15 naive3 Jeremie 139 0.17
10:31:11 lessthandan Daniel Ennis 100 0.24
10:29:26 tweak lazlo 3 Luis F. Gutierrez 89 0.26
10:29:24 funny wu vincent 92 0.27
10:29:04 third try Christopher Cheng 121 0.36
10:27:54 permutulator Great Rumpuscat 90 0.26
10:26:54 freqsort3 walter kuhn 101 0.22
10:26:15 first3 Laszlo Sragner 89 0.26
6 10:26:12 randperm Alex Backer 89 0.26
10:25:48 4th try Mohsen Nosratinia 90 0.26
10:25:44 try_very_often Thao Dang 101 0.22
7 10:25:41 hello jed pack 90 0.26
10:22:55 hi jed pack 98 0.30
10:22:06 second try Christopher Cheng 125 0.33
10:21:56 guy's entry Guy Shechter 101 0.21
8 10:21:49 first2 Laszlo Sragner 92 0.25
10:21:33 freqsort 3 Alejandro Backer 100 0.22
10:21:17 3rd try Mohsen Nosratinia 101 0.22
10:20:10 random switch Jason Friedman 131 0.68
10:19:40 2nd try Mohsen Nosratinia 103 0.22
9 10:19:17 freq Emmanuel Lange 98 0.33
10 10:19:06 freqsort 2 Alex Backer 103 0.21
10:17:25 Peter's attempt #1 Peter J. Acklam 113 0.29
10:16:28 First try revised Christopher Cheng 142 0.43
11 10:15:04 freqsort walter kuhn 109 0.26
12 10:14:52 Chris's Entry Christopher CHeng 144 0.42




Failing Entries

Time Entry Author
T diff_05 Stijn Helsen
T doubleLoop A. Vorwerk
T SP4 tweak Per Rutquist
T jkl abc
T Ballsss Yi Cao
T spr6 Ned Krouchev
T ...may be Andres Prieto
T first123123 Laszlo Sragner
T j2.1.1 Niilo Sirola
T foo1 Joakim Rydell
T seqfreq Scott Norin
T iindkf2 jed pack
T spr5 Ned Krouchev
T j1234 Ben Mitch
T first321 Laszlo Sragner
T 3 Erlend
T peng03 Peng
T Array based 3 AJ Johnson
T boring john arthur
T iindkf jed pack
T hole1spvg Saâd Jbabdi et Pierre Bellec
T why not use if... Stephan Marksteiner
T eval Andrei Brusnikin
T j2 coldtortuga
T ooomm jed pack
T 9th try! Mohsen Nosratinia
T still prettier 4 Ned Krouchev
T j Claudio Gelmi
T simplified test Peter J. Acklam
T D End 3 Eli Horn
T HmmMmm jed pack
T try_300 shenghua liang
T Ballss Yi Cao
T paradox gord drewitt
T first31 Laszlo Sragner
T HIO christian ylämäki
T Balls Yi Cao
T Even better Fabris
T a little better Will Hasenplaugh
T bce_18 bodycoding
T first30 Laszlo Sragner
T peng02 Peng
T bce_17 bodycoding
T try3 shenghua liang
T bc_e16 bodycoding
T Amelie1 Francois Glineur
T Array based 2 AJ Johnson
T bce_15 bodycoding
T try23 Robert Weinmann
T nolength2 philipp.batchelor
T martijn 6 Martijn Visser
T try22 Robert Weinmann
T matlab Tony
T Copycat1 Johan Hellström
T ok!! Firas Zeineddine
T funny4 wu vincent
T fix it jed pack
T Not too fancy Robert Coury
T still prettier Ned Krouchev
T Stiller Per Rutquist
T while pretty nikola
T come on now Luis F. Gutierrez
T peng01 Peng
T Pretty shorter coldtortuga
T lucky? Haywood Djiblomie
T why not? Niilo Sirola
T ohwhatever Ben Mitch
T diff_04 Stijn Helsen
T pretty some more better Niilo Sirola
T bce_13 bodycoding
T martijn 5 Martijn Visser
T hm jed pack
T diff_03 Stijn Helsen
T diff_02 Stijn Helsen
T superfreq6 Dave Landhuis
T try2 shenghua liang
T another try Peng
T bc_e12 bodycoding
T Even better one Eran Fishler
T diff_01 Stijn Helsen
T first22 Laszlo Sragner
T fly Ben Mitch
T rangement François
T Another approach Eran Fishler
T first21 Laszlo Sragner
T pretty better Nikola
T first20 Laszlo Sragner
T really small change Ned Krouchev
T very good walter kuhn
T WHatisthis percy wang
T not bad, but too late Stephan Marksteiner
T L7.1 Larry Reitman
T top4 Philip Top
T reshape psvg saad and pierre
T mgolf1 SriSun
T d1 Haywood Djiblomie
T Liwen-freq Liwen Xu
T shot in the dark Haywood Djiblomie
T Lw-freq Liwen Xu
T holepsvg pierre and saad
T new freq prudhvi chintalapati
T randperm_mitch_2 Ben Mitch
T try21 Robert Weinmann
T superfreq4++ Jason Friedman
T with a warning... 3 iannis Aliferis
T MatrixMagic Peter Boettcher
T test2 Mike Nicolai
T nonnegative gie
T yrite 2b.1 Niilo Sirola
T a cheap trick Stephan Marksteiner
T with a warning... 2 iannis Aliferis
T martijn 4 Martijn Visser
T hole1_TS Tim Smith
T first11 Laszlo Sragner
T Bob Tristram Scott
T hole1 Joakim Lubeck
T tch1 Claus Still
T L5.1 Larry Reitman
T first8 Laszlo Sragner
T golf1 ravi
T fore! K Lindstrom
T bc_e11 bodycoding
T martijn 3 Martijn Visser
T muffel3 Jan Poland
T Score 52 Yuval Cohen
T L4 Larry Reitman
T cyclist_3 cyclist
T checks uniqueness first ravi
T superfreq3 Dave Landhuis
T test1 Mike Nicolai
T Good luck to everyone 2 Eli Horn
T cyclist_2 cyclist
T superfreq2 Dave Landhuis
T Dull Loop Anders Holtsberg
T blah Ricky Debnath
T jchop j
T Oblivious Otter Colin Ross
T first2v2 Martha Saenz
T first4 Laszlo Sragner
T cyclist_1 cyclist
T top1 Philip Top
T jimbo Jim Van Spengen
T yrite 1 Niilo Sirola
T I can't play golf 2 Yuval Cohen
T fq Randall Million
T with a warning... iannis Aliferis
T tweak come on Luis F. Gutierrez
T Perplexed Possum Colin Ross
T first2_2 Daniel Andersson
T jellydonut Matt Johnson
T put_and_sort2 Peng
T martijn 2 Martijn Visser
T TestRules Jin Mingjian
T #1 Erlend
T freqsortN walter kuhn
T martijn 1 Martijn Visser
T Test Test
T muffel2 Jan Poland
T put_and_resort Peng
T Peter's attempt #4 Peter J. Acklam
T first2find that you can take a character away Jeff Foster
T pointer pointer
T come on it's early Luis F. Gutierrez
T mod_freqsort2 Peng
T Peter's attempt #3 Peter J. Acklam
T shorter? sweeter? Jeff Foster
T superfreq Dave Landhuis
T Peter's attempt #2 Peter J. Acklam
T ahem Jeff Foster
T Boh III William
T work pleas.e.. Jeff Foster
T try11 Peng
T try1 Peng
T work please Jeff Foster
T muffel Jan Poland
T freqsort2 walter kuhn
T Suspicious Stoat Colin Ross
T Too many chars Jeff Foster
T naive2 Jeremie
T