nice one! the answer just be "flooded" in your test suite...
and I'm wondering why this solution is smaller in size than this: http://www.mathworks.com/matlabcentral/cody/problems/2312-how-many-solutions-has-this-problem/solutions/440185 O_o
Well, when you submit a solution, correct answer changes a little bit, isn't it? :-P
but my solution is also a general solution and has less operations in it. O_o
Wellcome to the world of TRENDY!!
What a score! Impressive
Thanks Marco! ;-)
José, I've mixed up scoring a little, sorry for that. But you'll probably be happy with an other update to the test suite.
HEHEHE nice!! ;-)
Ooooh! the Cody servers are not the same as the Trendy servers... :-(
yes, this function is so useful it could be builtin, don't you think?
urlfilter is also available here: http://www.mathworks.com/matlabcentral/fileexchange/44751-url-filter
I had the function in my computer, so i added the code of "urlfilter" as a sub function to this other solution: http://www.mathworks.com/matlabcentral/cody/problems/2312-how-many-solutions-has-this-problem/solutions/440187 ;-)
Make a random, non-repeating vector.
Find the logic
(Linear) Recurrence Equations - Generalised Fibonacci-like sequences
Which permutation is it?
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