WEEKEND PROGRAMMING CHALLENGE


Image

This idea came last week https://olimex.wordpress.com/2013/03/18/friday-free-board-quiz-update/ . Seems many people like the Quiz just to take the challenge and see if they can answer it.

So we can give it a try this weekend🙂

The challenge this weekend is:

Distance:
In 2D coordinate system we have three points A(x,y) B(x,y) C(x,y)
where x,y can be positive and negative integer numbers
If Points A and B define endless line, write function which returns the distance between point C and the line defined by point A, B

You can code the solution in any language during the weekend and have to submit it to info@olimex.com latest on Sunday March 24th .

On Monday we will post all solutions we got and rise winner.

You can play with your real name or with nick if you want to be anonymous, we will not disclosure your personal info if you do not want to.

3 Comments (+add yours?)

  1. OLIMEX Ltd
    Mar 22, 2013 @ 20:30:57

    wow the first solution arrived 2 hours after I posted🙂

    Reply

    • OLIMEX Ltd
      Mar 24, 2013 @ 13:02:11

      14 solutions to the moment and keep coming🙂
      remember the end of the challenge is today by the end of the day
      tomorrow I will setup GitHub account for the challenge and upload all solutions there

      Reply

  2. iainism
    Mar 25, 2013 @ 02:12:23

    I love this idea. I can’t wait to see how different the various solutions are.

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: