Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [computer-puzzle]

A tag for puzzles dependent upon some degree of computer literacy - for instance, requiring basic familiarity with operating system usage, encryption or programming.

19
votes
2answers
469 views

The Sequencer - da-da-daaa!

This is what the diagram on the machine looked like: And this is the output that was in the box. ...
3
votes
2answers
130 views

The fantastic matrix

Here's another question that I have been asked in an interview lately. Let $M$ be an $n × n$ matrix whose values are $”+”$ and $”-”$. M is called fantastic if it is possible to make all it's values $”...
17
votes
2answers
476 views

Maximum Height of a Hotel with Strange Elevators

I encountered this puzzle many years ago, and I think back on it often as it is unique and thought provoking. As far as I know nobody has proved the given solution as optimum, so it may still be ...
19
votes
4answers
671 views

Consecutive integers around a circle

Find a block of positive consecutive integers that can be placed around a circle in some order so that any two adjacent numbers always have a common divisor greater than 1.
2
votes
1answer
92 views

Pairwise coprime numbers in a 3 x 3 board

Find all the ways of placing all the digits 1 to 9 in the cells of a 3 x 3 board in such a manner that the seven three-digit numbers that can be read horizontally (from left to right), vertically (top ...
2
votes
0answers
143 views

A partition of 79633 into thirteen parts [duplicate]

The sum of thirteen positive integers is 79633. If placed appropriately on the vertices of this graph, two of them will be joined by an edge if and only if they have a common divisor greater than 1 (...
9
votes
1answer
244 views

Scoring Oracle: Bob easily wins, but how much?

Bob meets a magician with two bags and a chest on a bridge. The magician challenges him with the following enigma: Here is a bag A, holding 5080 pebbles. Here is another bag B. Most of the pebbles ...
7
votes
3answers
206 views

A 4 x 4 Magic Square with Pairwise Relatively Prime Entries

Find a 4 x 4 magic square of positive integers such that any two of its entries are pairwise different and relatively prime, i.e., have no common divisor greater than 1. What is the least that the ...
8
votes
2answers
224 views

From one color to another

white turns to blue blue turns to red red turns to aquamarine but green stays the same People from StackOverflow might appreciate this one.
12
votes
5answers
480 views

Labelling a Snow Flake Graph to Attain Minimum Sum

Label the vertices (or nodes) of this graph with positive integers so that any two nodes are joined by a edge (or line) if and only if the corresponding integers have a common divisor greater than 1 (...
16
votes
6answers
524 views

A regular riddle

I'm kept inside a boxy cage.A prefix for the modern age, I make the messages you create fly at a supersonic rate. Now that box has me and my friends inside a box with rounded ends. You can ...
1
vote
2answers
121 views

A Fun, Fantastic, Phonic Cipher!

An old friend of mine recently sent me an email. Being a linguist, he always finds creative (read: annoying) ways to use his words to baffle me. After about five minutes, I usually just give up. ...
0
votes
1answer
159 views

One-word riddle (possibly python)

The question/riddle is: "Never has a snake given such words of wisdom." The hint is: "Thou shall never pass errors silently!" It is possible to be related to Python, errors or something like that. ...
8
votes
3answers
1k views

What date encoding could this be?

40 years ago I read a book, but couldn't remember the title. I've been looking for it for a while, and I finally (finally!) found it! And then I worked out why it took so long. It hasn't been ...
7
votes
1answer
198 views

Can you give us a statement?

Picture an 11x11 grid. Each cell must contain one character. This can be any ASCII character. The contents of the entire row must validate against both corresponding H regex clues. And the contents of ...
10
votes
3answers
565 views

Where is the money?

When I was just a little kid my parents died in a terrible accident, and I was left alone in the world. When I reached the age of 18, I received an envelope with a letter that read the following: ...
7
votes
1answer
119 views

Statements in Java

Each code block translates to a specific statement in English. There is a theme behind the statements. As code puzzles tend to be "easier" (relative to other PSE puzzles) than expected, it will not be ...
4
votes
1answer
99 views

question of royal proportions

I dont know if this is going to be any good but this is my first attempt at on of these puzzles. The following piece of code relates to a famous saying/phrase/article/piece. ...
3
votes
1answer
244 views

Applied logic challenge problem #2

This is similar to my previous Applied Logic Challenge Problem but with a significant difference at the end which could make this problem somewhat more difficult. Again it is a problem of my own ...
4
votes
2answers
198 views

Applied logic challenge problem

You must determine what can be concluded from the 60 true statements below. The numbers in each statement represent binary values (true / ...
7
votes
1answer
297 views

An Artwork Made from Several Countries

Last year I went to 12 different countries around the world. I made an AI to convert every country that I've visited into a beautiful artwork as a reminder. I input the 12 countries name, then somehow ...
-1
votes
2answers
368 views

What's the Difference?

*not sure if this counts as a real puzzle, but I will ask it anyways. Can you catch the difference between the 2 following letters? х ...
9
votes
1answer
226 views

Puzzles like Sokoban?

I am looking for some puzzles like Sokoban or 15-puzzle but more difficult to solve and satisfy the following requirements: The number of possible moves at each step should be limited, let's say < ...
-3
votes
1answer
82 views

You see me right now… but you can't

Look over here! Oh... that's right. I'm too small to be seen. But you are still looking at me. Crazy! I know right? Here, how about this? You guess what I am! Okay. Well if I get too much ...
12
votes
2answers
385 views

Ornithogenic Turnover

Peptiberg: Hello, friend. Why do you look so pleased? Tippgeber: My friend just had a change of profession - from a divisive one to a constructive one. Peptiberg: Was it a smooth transition? ...
31
votes
3answers
2k views

Mysterious Flash Drive

First puzzle I ever do! Hopefully it won't be too easy or too challenging. My co-worker just gave me a USB flash drive, which was supposed to contain a couple files of code for me to review. ...
8
votes
2answers
345 views

The “foo” encoding

This puzzle has been solved. Please skip to the bottom of this question for the answer. Introducing the mysterious foo encoding... based on the common computer programming template variables ...
4
votes
1answer
165 views

What does one do to decrypt this?

'Encrypted': 10101110001011101000000001110111000101011100011101110000000011101110100010111000111010111011100 Context: This is simpler than you think. So simple the solution to this problem would be ...
8
votes
1answer
204 views

Once again, another Linux movie quote!

Because I can't get off this linux movie quote train, here is another one! Can you find the famous movie quote hidden in this linux block? ...
12
votes
2answers
1k views

Yet another movie line on the Linux terminal

What famous quote does the following terminal session refer to? $ ps -o ppid= -p $u 28342 $ echo $$ 28342
11
votes
3answers
5k views

My co-workers left me a message

While refactoring a massive chunk of old code, I found a rather curious section of code commented out that wasn't there the day before. Can you tell me what it means? ...
6
votes
6answers
705 views

Why did the function not run in the marathon? [closed]

Please help me with this, I'm not sure what tags to use. It also has a somewhat programming background. Question: Why did the function not run in the marathon?
9
votes
1answer
493 views

Yet another movie quote hidden in Linux

Inspired by this question and this question, can you guess the famous movie quote hidden in this Linux block? ...
13
votes
1answer
1k views

Another Linux movie command

Inspired by this question, here's another Linux command representing a famous line: cp -a ~she ~ Which line is it?
35
votes
1answer
4k views

Chuck Norris vs. This Question

public var c: = Infinity; public var w:Array = [,<...
2
votes
3answers
323 views

Coding puzzles with pen and paper

At work we are doing a coding competition on hackerrank – it is real coding – you are given input and you have to code a program that produces the correct output. Now, I would like to promote this ...
2
votes
1answer
127 views

Where is my brother?

Couple days ago, my brother went missing. It seems like he's ran away from home. I decided to search his computer, to see if there are any clues to where he might have gone. All I've found was this ...
11
votes
3answers
2k views

A Programmers Riddle

A programmer friend left me a riddle: ...
2
votes
1answer
142 views

Breaking into your friend's computer

You're trying to break into your friends laptop. However, his computer is password protected. Luckily he has a password hint on his computer. The password you are looking forˏ is not easy like ...
4
votes
1answer
149 views

Where is my coworker from? [duplicate]

My new coworker sent me some code. He wants me to figure out where he was born. I believe there are some hints within the code, but I cannot figure it out. Here is the code block: ...
1
vote
3answers
146 views

Looking for a place

Seems overwhelming but pretty simple. clue.txt http://junewi.000webhostapp.com/testing/clue.txt tdHCR6ieFHNqUv1zQHE0KRiAfypNTApKi2xlN4CMYK2beP3M1u2mgUvRvDmx0M8heyKebUVEsGcbHrnymUIeviUN/...
9
votes
1answer
359 views

First Cryptography Puzzle

When adam and eve sinned, apple was the key. Lies of the Serpent, they both believed. Alternate: 56 108 87 97 119 53 97 43 57 49 68 105 66 51 121 115 84 54 120 51 81 65 61 61 I'm looking for just ...
4
votes
3answers
198 views

Critters Ate My Clue

I recently visited a rummage sale at my local community college, which was trying to get rid of a ton of old and outdated equipment in storage to make way for a new Makerspace. As I browsed through ...
3
votes
0answers
106 views

Honda tutu del moto - Words which say something

You find a paper lying on the sand. Does it mean something ... an imgur maze, maybe ? Cultures reserve glasses. Twin economists migrates with tails in a fine risk. Conglomerate ... voo dun saga ...
6
votes
2answers
178 views

Mathematical formulation for Dr. Eureka

I have to prepare an algorithm to solve the puzzle part of Dr. Eureka, a multiplayer game from Blue Orange Games. This is part of a research project that also involves computer vision and robotics. ...
6
votes
1answer
295 views

Base what? Oh, great, now I need magic

This cipher's too hard to solve by itself. This short riddle provides sufficient help. You must consult the fifth man; He'll lend a hand, And less information quite appropriate. <...
5
votes
1answer
278 views

How to choose the next board in the 8-puzzle?

I hope to have your help to solve the problem I am facing. I'm trying to make an 8-puzzle solver but I'm in doubt about how to select the next board, from the one they have already given me. Below I ...
13
votes
4answers
3k views

A dice game, what is the optimal strategy?

Alice was walking on the street when she came across a man playing with a die. She could not help trying to check if the die was loaded and while she was concluding that it wasn't loaded, the man ...
22
votes
1answer
778 views

Code Movie Wall

An entry in Fortnightly Topic Challenge #36: Twisted Classics 1 I'm thinking of a movie. The Connecting Wall below (click it for a bigger version) should have made guessing the movie really simple, ...
5
votes
2answers
229 views

Tiling rectangles with Heptomino plus rectangle #6

Inspired by Polyomino T hexomino and rectangle packing into rectangle See also series Tiling rectangles with F pentomino plus rectangles and Tiling rectangles with Hexomino plus rectangle #1 ...