Programming Puzzles & Code Golf newsletter

Top new questions this week:

Make a "Ceeeeeeee" program

Once I wrote a JavaScript program that would take as input a string and a character and would remove all characters except for the first one and the character given as input, one by one. For example, ...

code-golf string  
asked by Challenger5 56 votes
answered by DrMcMoylex 23 votes

Shortest code to throw SIGILL

Background We already have a challenge about throwing SIGSEGV, so why not a challenge about throwing SIGILL? What is SIGILL? SIGILL is the signal for an illegal instruction at the processor, which ...

code-golf  
asked by Mega Man 42 votes
answered by ais523 57 votes

PPCG Jeopardy: Cops

How well do you know the site? Let's find out. This is a cops-and-robbers challenge. Robber's thread. As a cop, you need to: Find a non-deleted, non-closed challenge on this site to answer. The ...

cops-and-robbers obfuscation  
asked by Nathan Merrill 38 votes
answered by DLosc 8 votes

What will you bring for Thanksgiving?

Thanksgiving in the United States is coming up on November 24th. Many people will have a large dinner with their families, traditionally including turkey and many side dishes. This typically means the ...

code-challenge kolmogorov-complexity polyglot  
asked by ETHproductions 31 votes
answered by BlueEyedBeast 22 votes

Finding The nth Prime such that the prime - 1 is divisible by n

Problem The goal is as the title says to find the nth prime such that the prime - 1 is divisible by n. Explanation Here is an example so you understand the question, this is not necessarily the ...

code-golf number number-theory primes  
asked by Ando Bando 31 votes
answered by Emigna 9 votes

Goodness Giza Golf!

A "Giza number", also colloquially known as a Timmy Number is any number where the digits represent a pyramid (A134810). For example, "12321" is a giza number because it can be visualized like this: ...

code-golf math sequence palindrome decision-problem  
asked by DrMcMoylex 31 votes
answered by Dennis 25 votes

Cracking in progress

Remember those brute-force programs to crack password that show every combination they are trying? More precisely, at one point, the n first characters are fixed (they have been guessed successfully), ...

code-golf string random  
asked by Dada 28 votes
answered by Neil 12 votes

Greatest hits from previous weeks:

Don't google "google"

We all know that if you google the word "google" it will break the internet. Your task is to create a function that accepts 1 string and returns its length, in as few amount of Unicode characters as ...

code-golf string  
asked by rybo111 128 votes
answered by xnor 194 votes

The Programming Language Quiz

Congratulations to Dennis who won both the cops' and the robbers' challenge! Calvin's Hobbies has already delivered on his promise and wrote this challenge for Dennis for winning the robbers' ...

code-golf hello-world obfuscation cops-and-robbers  
asked by Martin Ender 159 votes
answered by Dennis 24 votes

Can you answer these?

Fewest disk writes to defrag multiple files

Introduction A disk is a linear container with blocks indexed 0 through size-1. A file is a named list of block indexes used by that file. An example filesystem is expressed like this: 15 ...

code-golf combinatorics  
asked by spraff 8 votes

The Most Durable Pokemon Types

Background In Pokemon there are 18 types: Normal Fighting Flying Poison Ground Rock Bug Ghost Steel Fire Water Grass Electric Psychic Ice Dragon Dark Fairy ...

code-golf compression  
asked by Devin White 5 votes
Subscribe to more Stack Exchange newsletters


Unsubscribe from this newsletter or change your email preferences by visiting your subscriptions page on stackexchange.com.

Questions? Comments? Let us know on our feedback site. If you no longer want to receive mail from Stack Exchange, unsubscribe from all stackexchange.com emails.

Stack Exchange, Inc. 110 William St, 28th Floor, NY NY 10038 <3