Programming Puzzles & Code Golf newsletter

Top new questions this week:

Draw the Olympic Games logo

Challenge Draw the Olympic Games logo... ...as ASCII art! Sample Output * * * * * * * * * * * * * * * * …

code-golf ascii-art  
asked by Adam Maras 71 votes
answered by Danko Durbić 122 votes

All Your Base Are Belong To Us (Restricted)

No input required, but output must read "All your base are belong to us". Restrictions No external resources. Plus a minimum of two of the following: You cannot use "a", "b", "t", "u", or "y" in …

code-golf string  
asked by WallyWest 38 votes
answered by Howard 38 votes

Draw the Heart Shape

Challenge Draw a Heart shape ...as ASCII art! Your art doesn't have to look exactly like mine, but it has to look like a Heart Shape. The inside of of the heart has to contain the words "Love" …

code-golf ascii-art  
asked by Computernerd 18 votes
answered by VisioN 31 votes

9-hole mini-golf: Text Manipulation

9-hole mini-golf: Description 9 (mostly fairly easy) code golfing challenges of varying difficulty Penalties for using the same language more than once All challenges about a specific theme (this …

code-golf string  
asked by Doorknob of Snow 16 votes
answered by Volatility 3 votes

***Landscapes***

Objective: Write a program that generates beautiful (?) ASCII-art landscapes and skylines! Your program has just one input: a string composed of any combination/repetition of the chars 0123456789abc. …

code-golf ascii-art  
asked by friol 16 votes
answered by Volatility 4 votes

Lifetime of a Worm

Terms A worm is any list of nonnegative integers, and its rightmost element is called the head. If the head is not 0, the worm has an active segment consisting of the head together with all …

code-golf  
asked by r.e.s. 15 votes
answered by Peter Taylor 6 votes

The Quickest Fox in the East

In the spirit of Hello world! with NO repetition Write a program that prints the string "the quick brown fox jumps over the lazy dog" with optional newline. The entire program must not repeat any …

popularity-contest  
asked by Manishearth 14 votes
answered by Yimin Rong 29 votes

Greatest hits from previous weeks:

Fibonacci function or sequence

Write the shortest code that either: Generates a Fibonacci sequence (either in standard output, or as a stream) Calculates, given n, the nth Fibonacci number (I gave both options in case one is …

code-golf fibonacci  
asked by Chris Jester-Young 29 votes
answered by jtjacques 22 votes

Is it Christmas?

Challenge Given that Christmas is December Month 12 Day 25 every year: determine today's date, and whether or not today is Christmas. If it is Christmas, you must print "It's Christmas". If it is …

code-golf date  
asked by pcperini 12 votes
answered by Ilmari Karonen 11 votes

Can you answer these?

Partition a map of water flows

This is a challenge on the internet asked by Palantir Technologies in their interviews. A group of farmers has some elevation data, and we’re going to help them understand how rainfall flows …

code-golf  
asked by AnkitSablok 2 votes

Find the Largest Palindrome in a String by Removing Letters

Problem: Remove characters from a string to make the largest palindrome possible. Example Input: 3 // Number of lines to test GGABZXVYCCDBA ABGBAD ABC Example Output: ABCCBA ABGBA B

code-golf palindrome  
asked by Connor 1 vote
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