Quine is a type of program whose output matches the source code.
See: Quine in Wikipedia
Similar in spirit to, http://www.mathworks.com/matlabcentral/cody/problems/42461-this-is-a-palindrome-and-so-am-i
Note: last line of MATLAB solution is padded with a comment, so you should remove that in your Quine submission
Extract leading non-zero digit
Construct an index vector from two input vectors in vectorized fashion
Is the paranthesis sequence balanced ?
Reduce - Map-Reduce
Greed is good - Simple partition P[n].
Convert a cell-array of values to MATLAB source code
Next lexicographic - permutation
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