There appears to be an error is Test Suite #3.
Agree, len for Test Suite 3 should be 4 not 3.
Yes. Fixed it.
Very exciting, as always with Ned
Challenging like all the other problems set in the ASEE Challenge
Would have been a great question, if time constraints were there.
Wow! Size 10.
@Informaton: Oh, it's nothing; just a cheating script ("gaming the test suite answers") combined with the well-known 'regexp' trick. A proper small solution was first submitted by Tim (Solution 97452 - size:51) and was later optimized in size by Alfonso Nieto-Castanon (Solution 181060 - size:48). My alternative Solution 1198643 (size:63), which uses for-loops instead of conv2 or filter2 function, is also much better than this 'regexp' cheat.
It dseon't mettar waht oedrr the lrettes in a wrod are.
Least common multiple of many numbers
Test if a Number is a Palindrome without using any String Operations
Back to basics 23 - Triangular matrix
Crossing to Kissing - Untangle the Lines
Find the stride of the longest skip sequence
Do the line-segments intersect?
Find a subset that divides the vector into equal halves
Balanced Ternary Numbers: Easy as |, |-, |o
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office