Find an inscribed square on a closed curve
Here's an unproven conjecture from geometry: Every simple closed curve in a plane contains all four vertices of some square.
...
Rock Paper Scissors Lizard Spock
Can't decide what to watch on TV? How about settling the dispute with a good old fashioned round of Paper Scissors Lizard Spock ...
9 hours ago
Solved
Area of a pentagon
Given the side of a regular pentagon and its apothem return the area of pentagon.
Remember the area of pentagon is calculate ...
Solve a Weird Calculator puzzle
The September 2012 issue of GAMES Magazine had a Weird Calculator puzzle by Erich Friedman. In this puzzle, the calculator has o...
9 hours ago
Solved
Count alternating permutations
In an alternating permutation of numbers 1 to n, the numbers are arranged so that they alternately increase and decrease. For ex...
9 hours ago
Solved
Construct dimensionless parameters
*Summary*
Write a function to construct dimensionless parameters from a list of variables, a matrix indicating their dimensi...
9 hours ago
Solved
Let's create histogram data by yourself.
We'd like to create histogram data, which first column shows the data, and second column shows the frequency.
input = [1, 2, 1,...