Skip to main content

Programming Puzzles & Code Golf Weekly Newsletter - Wednesday, July 30, 2014

Programming Puzzles & Code Golf newsletter

Top new questions this week:

The Rock, Paper, Scissors, Lizard, Spock Tournament of Epicness

Most Recent Leaderboard @ 2014-07-30 01:30 +-------+---------------------+-------------------------+----------+-------+-----+------+------+----------------+ | Pos # | Author | Name …

king-of-the-hill  
asked by Eoin Campbell 68 votes
answered by Martin Büttner 16 votes

Rearrange pixels in image so it can't be recognized and then get it back

Create a program which can rearrange pixels in image so it can't be recognized. However your program should able to convert it back to original image. You can write two functions - for encoding and …

popularity-contest image-processing  
asked by user2992539 57 votes
answered by G. H. Faust 48 votes

Write the whole of the holed using the unholed

The ASCII characters from decimal code 33 to 126 are: !"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\]^_`abcdefghijklmnopqrstuvwxyz{|} Notice that in most fonts, 25 of these …

code-golf restricted-source  
asked by Calvin's Hobbies 33 votes
answered by Howard 21 votes

Draw the Sawtooth Alphabet

A simple one today. Write the shortest program that draws a "sawtooth alphabet" given a positive integer for the height. You must write the name of your programming language when you come to the …

code-golf string  
asked by Calvin's Hobbies 28 votes
answered by grc 17 votes

3D: Discrete Dogfighting Duel

Note: The simulateMove() function of the Plane class was slightly modified so it doesn't update the cooldown anymore, use the new updateCoolDown() function for that, after shooting. To get the …

king-of-the-hill java 3d  
asked by overactor 21 votes
answered by Sparr 7 votes

Where are the runs in this infinite string? (CCCCCC Found!)

Starting with the string ABC, consider the result of repeatedly appending the last half of itself to itself (using the larger half if the length is odd). We get the progression: ABC ABCBC ABCBCCBC …

code-challenge string  
asked by Calvin's Hobbies 16 votes
answered by isaacg 16 votes

Three-pointer! But what kind?

From http://en.wikipedia.org/wiki/Triangle: Write a program that takes three 2d coordinate tuples (Cartesian), and classifies what shape these three points describe. In almost all cases these …

code-golf math geometry  
asked by DigitalTrauma 15 votes
answered by es1024 8 votes

Greatest hits from previous weeks:

9 Hole Challenge

The 9 Hole Challenge 9 code golfing challenges of varying difficulty. Penalties for using the same language more than once. The question will be updated with pars, hole champions and trophy …

code-golf math algorithm ascii-art  
asked by Dan Prince 58 votes
answered by AsksAnyway 9 votes

Create a memory leak, without any fork bombs

Your task is to create a memory leak. This is a program that uses loads of memory, until the computer runs out and has to do some swapping to save itself from running out. The only way that the memory …

popularity-contest  
asked by George H 44 votes
answered by Andrew Medico 59 votes

Can you answer these?

How much time will I need to unlock my Android phone?

Scenario I am using pattern matching lockscreen and I sadly forgot my pattern. I would like to know how much time I will need to unlock it. Here are the specifications of Google's lock screen, that …

code-golf  
asked by NNzz 8 votes

Calculate the probability of seeing a landmark when starting at a given point and walking straight in a random direction

Input 5 integers: Landmark X & Y, Starting Point X & Y, and View Distance Radius D Output 1 double: % chance of coming within D of Landmark (X,Y) ("seeing") when walking straight in a random …

code-golf  
asked by ioSamurai 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

Comments

Popular posts from this blog

Drupal Answers Weekly Newsletter - Wednesday, December 31, 2014

Top new questions this week: Can I delete old hook_update_N functions? Suppose you have a custom module, and you have hook_update_N() implementations in your .install file. If you have old update functions, and all updates have run in all sites that the module is ... node-update hook-update-n   asked by AyeshK ...

[New post] 8th Class Result 2014 PEC Hafizabad Board

Muhammad Waqas posted: "PEC Hafizabad Board 8th Class Result 2014 expected date is 28th March, 2014 by PEC. Punjab Examination Commission (PEC) will announce 8th class result for Hafizabad Board soon and all the students of Hafizabad Board who are extremely waiting for the resul" New post on Jobs in Pakistan 8th Class Result 2014 PEC Hafizabad Board by Muhammad Waqas ...

[New post] 1st Year (11th Class) Result 2014 BISE Rawalpindi Board

Xaib Aslam posted: "BISERWP board Inter part 1 result expected on 10th October 2014 according our source. students of Rawalpindi board desperately waiting for 11th class result. 1st they upload the 12th class result and after some time they ready for showing the 1st year fin" New post on Jobs in Pakistan 1st Year (11th Class) Result 2014 BISE Rawalpindi Board by Xaib Aslam ...