Solved

Poker Series 03: isFullHouse

The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

ongeveer een maand ago

Solved

Poker Series 02: isQuads

The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is to...

ongeveer 2 maanden ago

Solved

Poker Series 01: isStraightFlush

The Poker Series consists of many short, well defined functions that when combined will lead to complex behavior. Our goal is t...

ongeveer 2 maanden ago

Solved

SET (the card game)

<http://www.setgame.com/set/index.html SET> is a card game in which players try to find valid 3-card sets from 12 cards on the t...

ongeveer 2 maanden ago

Solved

Combine Cards to make 21

Given between two and six cards, e.g. A _ 3 _ 7 _ 6 _ 2 place one of the mathematical symbols (+,-,*,/) in the space betw...

ongeveer 2 maanden ago

Solved

Mongean Shuffle : 2

Extension to <https://www.mathworks.com/matlabcentral/cody/problems/2479-mongean-shuffle problem 2479>: Determine the number...

ongeveer 2 maanden ago

Solved

Mongean Shuffle

A Mongean shuffle of an n card deck starts with putting the initial deck on the left hand side. * The top card of the deck is...

ongeveer 2 maanden ago

Solved

Card Game

This is an overly simplified and highly modified version of card game Twenty-Nine. A deck of 100 unique cards (hypothetical) ...

ongeveer 2 maanden ago

Solved

Elapsed Time

Given two date strings d1 and d2 of the form yyyy/mm/dd HH:MM:SS (assume hours HH is in 24 hour mode), determine how much time, ...

ongeveer 2 maanden ago

Solved

Word Counting and Indexing

You are given a list of strings, each being a list of words divided by spaces. Break the strings into words, then return a maste...

ongeveer 2 maanden ago

Solved

Quote Doubler

Given a string s1, find all occurrences of the single quote character and replace them with two occurrences of the single quote ...

ongeveer 2 maanden ago

Solved

Minimum Distance Point to Segment

This Challenge is to determine the minimum distance from a 2-D line segment defined by two points to a point. The point is (p...

ongeveer 2 maanden ago

Solved

Hexagonal Tiling Dots in a Circle

Return how many <http://en.wikipedia.org/wiki/Hexagonal_grid Hexagonal Tiling> grid points there are inside a circle of radius _...

ongeveer 2 maanden ago

Solved

Lights Out 9 - 5x5, light-only solution? II

<https://en.wikipedia.org/wiki/Lights_Out_(game) Lights Out> is a logic game wherein all lights need to be turned off to complet...

ongeveer 2 maanden ago

Solved

Lights Out 8 - 5x5, light-only solution? I

<https://en.wikipedia.org/wiki/Lights_Out_(game) Lights Out> is a logic game wherein all lights need to be turned off to complet...

ongeveer 2 maanden ago

Solved

Volume of a Simplex

Return the volume of a <http://en.wikipedia.org/wiki/Simplex regular _n_-simplex> with a unit side length. Results are up to...

ongeveer 2 maanden ago

Solved

Lights Out 7 - 5x5, x moves

<https://en.wikipedia.org/wiki/Lights_Out_(game) Lights Out> is a logic game wherein all lights need to be turned off to complet...

ongeveer 2 maanden ago

Solved

Dots in a Diamond

Return how many <http://en.wikipedia.org/wiki/Diamond_cubic Diamond Cubic> lattice grid points there are inside a 3D sphere of r...

ongeveer 2 maanden ago

Solved

Lights Out 6 - 5x5, 13 moves

<https://en.wikipedia.org/wiki/Lights_Out_(game) Lights Out> is a logic game wherein all lights need to be turned off to complet...

ongeveer 2 maanden ago

Solved

Lights Out 5 - 5x5, 10 moves

<https://en.wikipedia.org/wiki/Lights_Out_(game) Lights Out> is a logic game wherein all lights need to be turned off to complet...

ongeveer 2 maanden ago

Solved

Lights Out 4 - 5x5, 8 moves

<https://en.wikipedia.org/wiki/Lights_Out_(game) Lights Out> is a logic game wherein all lights need to be turned off to complet...

ongeveer 2 maanden ago

Solved

Lights Out 3 - 5x5, 6 moves

<https://en.wikipedia.org/wiki/Lights_Out_(game) Lights Out> is a logic game wherein all lights need to be turned off to complet...

ongeveer 2 maanden ago

Solved

Lights Out 2 - 5x5, 4 moves

<https://en.wikipedia.org/wiki/Lights_Out_(game) Lights Out> is a logic game wherein all lights need to be turned off to complet...

ongeveer 2 maanden ago

Solved

Lights Out 1 - 5x5, 3 moves

<https://en.wikipedia.org/wiki/Lights_Out_(game) Lights Out> is a logic game wherein all lights need to be turned off to complet...

ongeveer 2 maanden ago

Solved

Circumscribed circles

Given the lengths of the 3 sides of a triangle, output the radius of the circumscribed circle. Example: [3 4 5] -> 2.5

ongeveer 2 maanden ago

Solved

Points on a circle.

This problem is related to <url=http://www.mathworks.com/matlabcentral/cody/problems/1283-points-on-a-sphere>Problem 1283, Point...

ongeveer 2 maanden ago

Solved

Points on a Sphere

Given a sphere of radius R, determine how many points on the surface of that sphere have three integer coordinates. Do not outp...

ongeveer 2 maanden ago

Solved

Number of lattice points within a circle

Find the number of points (x,y) in square lattice with x^2 + y^2 =< n. This is related to Jame's <http://www.mathworks.com/matla...

ongeveer 2 maanden ago

Solved

Dots in a Circle

Return how many integer grid points there are inside a circle of radius _r_ centred at (0,0) (including points on the edge). ...

ongeveer 2 maanden ago

Solved

Dots in a Sphere

Return how many integer grid points there are inside a 3D sphere of radius _r_ centred at (0,0,0) (including points on the edge)...

ongeveer 2 maanden ago