Results 1 to 1 of 1

Thread: Advanced programming exercises

  1. #1
    Join Date
    Jan 2006
    Ubuntu 10.10 Maverick Meerkat

    Advanced programming exercises

    Since we have the beginner challenges, I was thinking of having an advanced version. The problem is that advanced challenges would require a lot of work on the part of the person creating the challenge. Then, there is no easy way to pick a winner.

    So, I decided that once a week, I will post an advanced programming exercise. The point of these is to stump you and make you think on your algorithm. These will involve interesting problem solving, using magical data structures, and maybe even bit magic (write a O(n) 1/sqrt(n) function). Depending on whether I have time or not, I am intending on doing these, too, and posting my solution.

    The sources will vary. They can be from project Euler, from, via submissions to my In-box on the forums, or anywhere in the world.

    The rules will be simple:
    - There is no weekly winner. This is for your exercise only.
    - Input that is provided as part of the problem can be read in any way you want. You can hard code it if you like, this isn't kindergarten.
    - Return the output however you like. Print it, return it to the shell, hack a satellite to write it on the moon. We don't care.

    Index of programming exercises:
    1. Advanced programming exercise: Fibonacci strings
    2. Advanced programming exercise: Power set
    3. Advanced programming exercise: All permutations
    4. Advanced programming exercise: number generator with rules
    Last edited by slavik; July 5th, 2011 at 12:55 AM.
    I am infallible, you should know that by now.
    "My favorite language is call STAR. It's extremely concise. It has exactly one verb '*', which does exactly what I want at the moment." --Larry Wall
    (02:15:31 PM) ***TimToady and snake oil go way back...
    42 lines of Perl - SHI - Home Site


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts