David Young - MATLAB Cody - MATLAB Central

David Young

1060
Rank
7
Badges
2075
Score
1 – 50 of 298

David Young received Cody Challenge Master badge for Solution 46664

on 23 Jul 2024

David Young received Speed Demon badge for Solution 50615

on 26 May 2016

David Young submitted a Comment to Solution 406838

Invalid solution, really

on 20 Feb 2014

David Young submitted a Comment to Problem 2202. Flip the bit

The test suite does not check that the solution is a character string, but the problem definition requires that it should.

on 20 Feb 2014

David Young submitted a Comment to Solution 106284

Only works for scalars of course.

on 4 Jul 2012

David Young submitted a Comment to Problem 341. count to vector

It would be helpful if the text gave an example. Also, the test suite should be much richer - only two special cases does not really encourage people to write general solutions.

on 8 Mar 2012

David Young submitted a Comment to Solution 21730

... though, just to be clear, the comment wouldn't be quite right, it still needs a little adjustment.

on 6 Mar 2012

David Young submitted a Comment to Solution 21730

This could be quite a good solution, if you removed the "x = 7; %" part and just left what is now a comment. As it is, although it satisfies the test case, it doesn't actually solve the problem.

on 6 Mar 2012

David Young submitted a Comment to Problem 116. Distance walked 2D

Needs a richer test suite. A lot of "solvers" have just put a=7 as the "solution", but although this satisfies the single test case, it doesn't solve the problem as stated.

on 6 Mar 2012

David Young submitted a Comment to Problem 314. Find the sum of the elements in the "second" diagonal

You should definitely strengthen the test suite. Lots of solutions rely on both diagonals being the same, even though this is not a property of the stated problem.

on 1 Mar 2012

David Young submitted a Comment to Solution 43073

But you can't rely on x always being a magic square - that's just an accident of the inadequate test suite, isn't it? So although this *looks* like a good solution, it isn't really. I think it's bad practice to take advantage of an inadequate test suite.

on 1 Mar 2012

David Young submitted Solution 54373 to Problem 237. Half?

on 29 Feb 2012

1 – 50 of 298
Go to top of page