and thanks for the heads-up :)
Very ugly code, but it works...
I don't feel too bad about hard coding my initial solution now, although I was hoping to see another super clever algorithm from you. ;-)
Find the peak 3n+1 sequence value
Number of Circles in a Number
Find a subset that divides the vector into equal halves
Arrange vector in ascending order
Replace all zeros and NaNs in a matrix with the string 'error'
GJam 2012 Qualifier: Tongues
GJam 2011 Africa Qualifier B: Optimum Profit
Creation of 2D Sinc Surface
Mastermind I: Solve all 1296 cases
PACMAT 04 - Optimized Ghosts, Equal Speed, 10 Lives
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