Hello Grant. It's a nice set, but for problems 3001 and 3002 lookup tables are "always win" solutions. For this problem you can avoid this by using some randomness in the test suite.
I'm glad you like them, and thanks for the feedback. I just added a random test case to all three problems.
Yeah, the series is good. After a few rounds of spam-storm, Cody seems to be back on track...
Swap the input arguments
Multiply 2 numbers
Generate a random matrix A of (1,-1)
02 - Vector Variables 4
07 - Common functions and indexing 2
Rule of mixtures (composites) - reverse engineering
Lights Out 13 - 5x5, three stages, x moves
Self-similarity 1 - Every other term
Mersenne Primes vs. All Primes
Divisible by n, prime divisors - 11, 13, 17, & 19
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