Skip to main content

Questions tagged [algorithm]

A puzzle related to algorithms (a main concept in computer science). Puzzles may ask for an algorithm as an answer or require the analysis of a given algorithm.

5 votes
0 answers
166 views

I’ve made a small browser puzzle called Codextri where you have to identify a hidden set of three letters by guessing words. Each guess returns a score based on how many of those hidden letters your ...
Celestialien's user avatar
2 votes
0 answers
99 views

I'm working on a CayleyPy project where we study the diameters of graphs that come from different combinatorial puzzles. At the moment I’m focusing on the Picture-Cube, a 3×3×3 puzzle where each move ...
LillyPilly's user avatar
3 votes
0 answers
124 views

I'm working on a CayleyPy project. We study the diameters of various graphs. These graphs are often associated with physical puzzles. One of these puzzles is Megmainx. To test various hypotheses, I ...
Michael Litvinov's user avatar
1 vote
0 answers
182 views

The diamond-shaped Light Out game refers to a Light Out variant with a diamond-shaped grid, characterized by the following structural properties: Total number of rows/columns: $2k+1$ rows (where k is ...
DSTBP's user avatar
  • 183
7 votes
2 answers
449 views

On an m × n grid, pressing a cell flips the state (turning a lit cell dark and a dark cell lit) of that cell and its four adjacent cells (the cells above, below, to the left, and to the right). ...
DSTBP's user avatar
  • 183
16 votes
2 answers
800 views

There are 100 full water tanks and 100 empty ones. You are given a hose that can connect any two of them in order to equilibrate the water level between them. All the tanks are cubical in shape, of ...
Tobias Fritz's user avatar
3 votes
0 answers
249 views

I’ve become interested in puzzle games that combine traditional Sokoban mechanics (box pushing) with shortest-path optimization—specifically puzzles where your objective isn’t merely to reach a goal ...
K2xL's user avatar
  • 131
12 votes
1 answer
757 views

A postage stamp collector, once, bought a, supposedly complete, rare set of original postage stamps laid out 5x6. Each item in the set features a unique, rather peculiar, 5x6 pixel artwork. One day ...
FirstName LastName's user avatar
12 votes
2 answers
840 views

A card shuffling machine always rearranges cards in the same way relative to the order in which they are given to it. The thirteen spades arranged in the order A, 2, 3, 4, 5, 6, 7, 8, 9, 10, J, Q, K ...
Will.Octagon.Gibson's user avatar
1 vote
3 answers
393 views

This puzzle has a flavor of Hamiltonian puzzles. You are given a set of N rocks placed on a two-dimensional integer grid. The task is to find an orthogonal closed simple path with N orthogonal line ...
Mohammad Al-Turkistany's user avatar
3 votes
4 answers
438 views

Problem: You are given N items. You need to figure out what combination of these objects gives a certain unknown target weight. You do not know the target weight and the weight of each item. Each time ...
BlueTrin's user avatar
  • 189
1 vote
2 answers
253 views

How do fix this? All other sides are fixed
N. Pradeep's user avatar
3 votes
0 answers
254 views

I wonder if there is an algorithm for the worst game to keep as many pegs as possible. I tried to search for "peg solitaire worst score/ max leave" etc, but it’s not quite that. The question ...
Denis Ivanov's user avatar
1 vote
1 answer
173 views

I implemented the CFOP method in my Rubik's cube solver. Now I am trying to add the Roux method. I couldn't find the right CMLL algorithm for this particular case. After consulting the CMLL algorithms ...
Arun's user avatar
  • 113
5 votes
1 answer
473 views

You are faced with the difficult task to set up a dungeon for adventurers. However you made a deal with the guild: any adventurer brave enough to beat the dungeon and reach the treasure room will be ...
Fluorine's user avatar
  • 1,212

15 30 50 per page
1
2 3 4 5
13