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 to iainism Cancel reply