Solved


Increasing sub-sequence (Level 2)
This is the next step up from <http://www.mathworks.com/matlabcentral/cody/problems/42837-increasing-sub-sequence-level-1 Proble...

2 months ago

Solved


Increasing sub-sequence (Level 1)
Given a vector, v, of real numbers, return a positive integer, n, representing the longest contiguous increasing sub-sequence co...

2 months ago

Solved


Juggler sequence revisited
This problem is related to <http://www.mathworks.com/matlabcentral/cody/problems/42835-return-the-sequence-element-ii Problem 42...

2 months ago

Solved


Return the sequence element II
Given positive integers x and n, return a positive integer, y, which is the nth term in the <https://en.wikipedia.org/wiki/Juggl...

2 months ago

Solved


Return the sequence element I
Given a positive integer, x, return a positive integer, y, which is the xth term in the sequence [1 2 2 3 3 3...], in which one ...

2 months ago

Solved


Minimum Set (A+A)U(A*A) OEIS A263996
This Challenge is to find an integer vector A that creates the minimum set size for (A+A) U (A*A) for a given vector length, <ht...

2 months ago

Solved


Cleaner
Write a code _cleaner_ which creates variable/object that can clear current workspace when used. Missing semicolon (";") in lin...

2 months ago

Solved


Maximize Non-Co-Planar Points in an N-Cube
This Challenge is to find a set with the maximum number of integer points that create planar surfaces with a maximum of three po...

2 months ago

Solved


Number of active Cody players by date
I'm looking to start a series of problems related to web scraping. In this problem, you are given a date in 'dd mmm yyyy' format...

2 months ago

Solved


Flip the right coin to survive!
Write a function to solve the problem mentioned below. The chessboard 8x8 matrix will be filled with coins randomly and given to...

2 months ago

Solved


GJam March 2016 IOW: Passwords and the Block Set
This Challenge is derived from <http://code.google.com/codejam/contest/8274486/dashboard#s=p3 GJam March 2016 Annual I/O for Pas...

2 months ago

Solved


Is my wife really right?
For every input, output the string 'yes' once. Example: [yes1, yes2] = YesSheIs('Am I right?', 'Do you love me?') yes1 = 'yes'...

2 months ago

Solved


Is 3D point set Co-Planar?
This Challenge is to determine if four 3D integer points are co-planar. Given a 4x3 matrix representing four x,y,z integer poin...

2 months ago

Solved


Matrix diagonalization
You will be given Two matrices A and B. Return 1 if B is the diagonal matrix of A, 0 otherwise

2 months ago

Solved


Breaking Bad Tiles (Spelling with Element Symbols)
Given a word, how you would spell it with element symbols from the periodic table? For instance, if given the string "Paper", yo...

2 months ago

Solved


Find 1's Complement
Find 1's complement of a binary number For Example: x = 10011010 1's complement of x = 01100101

2 months ago

Solved


Is this function available?
Sometimes it is difficult to remember which functions are not allowed on the Cody platform. Given a function as a string, return...

2 months ago

Solved


List of built-in demo images
Return a cell array containing the filenames for built-in images (e.g. cameraman.tif, coins.png). An optional input specifies wh...

2 months ago

Solved


How many ways to write a number
Given two positive numbers n and k, where n>=k. In how many ways can we write n as sum of k positive numbers. Same numbers but d...

2 months ago

Solved


GJam March 2016 IOW: Password Single
This Challenge is derived from <http://code.google.com/codejam/contest/8274486/dashboard#s=p3 GJam March 2016 Annual I/O for Pas...

2 months ago

Solved


GJam March 2016 IOW: Polynesiaglot Large
This Challenge is derived from <http://code.google.com/codejam/contest/8274486/dashboard#s=p2 GJam March 2016 Annual I/O for Pol...

2 months ago

Solved


GJam March 2016 IOW: Polynesiaglot Medium
This Challenge is derived from GJam March 2016 Annual I/O for Polynesiaglot. This is a subset of small set 2. The max Qraw is 2^...

2 months ago

Solved


GJam March 2016 IOW: Polynesiaglot Small
This Challenge is derived from <http://code.google.com/codejam/contest/8274486/dashboard#s=p2 GJam March 2016 Annual I/O for Pol...

2 months ago

Solved


GJam March 2016 IOW: Clock Dance
This Challenge is derived from <http://code.google.com/codejam/contest/8274486/dashboard#s=p1 GJam March 2016 Annual I/O for Wom...

2 months ago

Solved


Create formatted value string Cell array of a vector
This Challenge is to create a cell array that contains strings of vector components in a given format. c=vector2formattedstri...

2 months ago

Solved


GJam March 2016 IOW: Cody's Jams
This Challenge is derived from <http://code.google.com/codejam/contest/8274486/dashboard GJam March 2016 Annual I/O for Women Co...

2 months ago

Solved


Polynomial Evaluation
Create a routine that takes a list of coefficients of a polynomial in order of increasing powers of x; together with a value of ...

2 months ago

Solved


Determine the full width at half max
Determine the full width at half max of a curve. The full width at half maximum (FWHM) is a parameter which is used for desc...

2 months ago

Solved


For a given linear index as input for n sized square matrix, find corresponding row and column.
If input is 1, the row and column will be 1 and 1 respectively.

2 months ago

Solved


Print the date for a given number using Indian calendar reference
Print date for a given number in date reference is INDIAN calendar, not Christ's Birth The Vikram Samvat is said to have been...

2 months ago

Load more