Are there any other programming puzzles?

Are there any other sources of puzzles such as programming on the Internet?

I started my set of daily programming puzzles, jokes and quotes to help me and my team grow in some technical areas .. like new features of .NET 3.5, design patterns, anti-patterns, code smells, etc.

I would like to find other short programming puzzles on the Internet, but I have not come across them yet. Do any of you know anyone, or would you consider starting to make your own?

+5
source share
7 answers

The Kata code is in my last posts.

There is also a good selection of software puzzles:

... among others.

+7
source

I love http://projecteuler.net/

Project Euler is a series of complex mathematical / computer programming problems that will require more than mathematical understanding to solve. Although math helps you come up with elegant and effective methods, solving most problems will require the use of computer programming skills and programming.

Some problems are insidiously difficult, but incredibly useful.

+4
source
+2

: . task: 0wn it.

/* n1.c                                                      *
 * specially crafted to feed your brain by gera@core-sdi.com */

#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>

#define MAX_SIZE 80

unsigned int atoul(char *str) {
    unsigned int answer=0;
    for (;*str && isdigit(*str);
        answer *= 10, answer += *str++-'0');
    return answer;
}

int main(int argv, char **argc) {
    char buf[MAX_SIZE],*pbuf=buf;
    int count = atoul(argc[1]);

    if (count >= MAX_SIZE) count = MAX_SIZE-1;

    while (count--) *pbuf++=getchar();
    *pbuf=0;
}
+1
+1

, To Mock to Mockingbird , . .

0

SPOJ , .

0

All Articles