Solved


PACMAT 05 - Optimized Ghosts, PACMAT increasing speed, 12 Lives
The Classic PACMAN game brought to Cody. PACMAT requires clearing the Yellow Dots while avoiding the wandering ghosts in 12 l...

6 months ago

Solved


PACMAT 04 - Optimized Ghosts, Equal Speed, 10 Lives
The Classic PACMAN game brought to Cody. PACMAT requires clearing at least 130 Yellow Dots while avoiding the wandering ghost...

6 months ago

Solved


PACMAT - G03 Ghosts use minimum path to PACMAT; 3 Lives
The Classic PACMAN game brought to Cody. PACMAT requires clearing the board of Yellow Dots while not bumping into the wanderi...

6 months ago

Solved


GJam 2014 China Rd B: Dragon Maze
This Challenge is derived from <http://code.google.com/codejam/contest/2929486/dashboard#s=p3 GJam 2014 China Dragon Maze>. Smal...

6 months ago

Solved


GJam 2014 China Rd A: Maze with a Left Hand Rule
This Challenge is derived from <http://code.google.com/codejam/contest/2924486/dashboard#s=p3 GJam 2014 China Cross the Maze>. ...

6 months ago

Solved


PONG 003: 3-Ball Rectangle, Interactive Download
Variation of the Original Classic PONG game brought to Cody. PONG 003 is a rectangular board (2000,1000) with reasonable veloci...

6 months ago

Solved


PONG 002: Rectangle, Interactive Download, Easier Play
Variation of the Original Classic PONG game brought to Cody. PONG 002 is a rectangular board (2000,1000) with slower initial ve...

6 months ago

Solved


Check if a directory is on the current MATLAB search path
Given a directory name as a string, return true if the directory is on the current MATLAB search path, and false otherwise.

6 months ago

Solved


Remove collinear points in a set of 2D points defining a polygon
Consider a polygon that is obtained by joining a set of 2D points whose coordinates are stored in matrix P=[x,y]. Write a functi...

6 months ago

Solved


Cellular Automaton | Rule X
Cellular Automata (CA) provide a convenient way to represent many kinds of systems in which the values of cells (either 0 or 1) ...

6 months ago

Solved


Find the function 2
Given a set of point (x,y) and the coordinate x of a new point, find the y value of new point. Test Suite is based on only one ...

6 months ago

Solved


Hamming Weight - Fast
The Hamming Weight, <http://en.wikipedia.org/wiki/Hamming_weight wiki Hamming Weight>, in its most simple form is the number of ...

6 months ago

Solved


Easy Sequences 8: Triangles with integer sides and prime perimeters
The triangle below is special. It has integer sides and a prime perimeter. Given an integer "n" we want to know how many t...

6 months ago

Solved


Easy Sequences 7: Easy as Composite Pi
The prime Pi function is defined as the number of prime numbers from 1 to a certain given limit. In MATLAB, it is easy to create...

6 months ago

Solved


Easy Sequences 32: Almost Pythagorean Triples
An Almost Pythagorean Triple (abbreviated as "APT'), is a set of 3 integers in which square of the largest element, which we wil...

6 months ago

Solved


Rotating the plane region bounded by two polynomials
Let p and q be n-degree and m-degree polynomials with n >= m >= 1. Consider clockwise rotate the plane region bounded by these t...

6 months ago

Solved


Easy Sequences 34: Modified Pascal's Triangle
Consider the integer triangle below: It follows the same ...

6 months ago

Solved


Easy Sequences 33: Web Trapped Ant
An ant is trapped on a spider web inside a can with open top. The can has a radius and height . A spider sitting on the outside...

6 months ago

Solved


Easy Sequences 26: Prime-Integer Line Segments
At the first quadrant in the -plane, you are asked to construct a line segment with the following specifications: Select a prim...

6 months ago

Solved


Easy Sequences 15: Pythagorean Area with maximum Hypotenuse
A pythagorean triangle is defined as a right triangle with all three sides having integer lengths. Examples of pythogorean trian...

6 months ago

Solved


Toads and Frogs Puzzle 2
On a two-dimensional board with 2n + 1 rows and 2n + 1 columns, all (2n + 1)^2 positions of the board, except the central one, a...

6 months ago

Solved


Find the longest runs of primes generated by polynomials
Cody Problems 60942, 60943, and 60944 involve polynomials that generate primes. No polynomial can generate only prime numbers, b...

6 months ago

Solved


Spiral Mandala
Generate a clockwise spiral pattern using 1s in an N×N matrix to create an intricate mandala effect. e.g. N = 5; y_correct...

6 months ago

Solved


Starburst Mandala
Create a mandala starburst using diagonal and orthogonal symmetry in a matrix.

6 months ago

Solved


Hourglass Mandala
Generate an hourglass shape using matrix geometry and symmetry. e.g. N = 5; 1 1 1 1 1; 0 1 1 1 0; ...

6 months ago

Solved


Vertical Mirror Mandala
Create a symmetric left-right mirrored pattern in an N×N matrix to emulate mandala reflection symmetry. e.g. N = 5; ...

6 months ago

Solved


Plus Cross Mandala
Create a symmetrical plus (+) shaped pattern centered in an N×N matrix.

6 months ago

Solved


Diagonal Cross Mandala
Generate an N×N matrix with diagonals highlighted to form an artistic X-shaped mandala pattern. e.g. N = 5; 1 0 0...

6 months ago

Solved


Concentric Squares Mandala
Generate concentric square rings of alternating 1s and 0s to form a layered mandala-style matrix. e.g. N = 5; 1 1 1 1 1;...

6 months ago

Load more