Pascal's Matrix
Given an integer n ≥ 0, generate the ( _n_+1) × ( _n_+1) lower triangular <http://en.wikipedia.org/wiki/Pascal_matrix P...
1 year ago
Solved
Mirror Image matrix across anti-diagonal
Given an input number x, create a mirror image matrix 'Y' across the anti-diagonal. For example, if x=3,
Y = [1 2 3;
...
letter yes yes & letter no no
Split a string into two strings, wherein the first string has all alphabetic letters and the second string has all the remaining...
1 year ago
Solved
Use of regexp
Given a string, containing several sentences, such as:
'I played piano. John played football. Anita went home. Are you safe?...
1 year ago
Solved
Convert a structure into a string
Convert the contents of each fields into a string.
Example with an input structure s with 2 fields :
s.age = '33'
s....
1 year ago
Solved
Find matching parenthesis
One of the most indispensable things about a great text editor for programming is the ability to quickly jump between matching p...