by know21 on April 2nd, 2007

know21

Question

Help answer this question below.

What do you think is the most difficult part of creating the algorithm?

  • Like
  • Report

Answers. 3 helpful answers below.

  • by TomP-C on July 17th, 2009

    TomP-C

    A good algorithm will be

    . Efficient
    . Reusable/Versatile
    . Elegant
    . Comprehensive
    . Understandable
    . Concise

    In programming, efficiency is often where the focus will be, hence the evolution of sorting algorithms over the years (Bubble Sort works, but Quick sort is faster).

    Reusability is important too. Algorithms take memory when programmed, so you don't want to have a module for sorting one list and another module for sorting a different list in a slightly different way. Better to have one module that can sort with both.

    Elegance - hard to define, but you'll know the difference when you see a scrappy algorithm verus a concise neat one.

    Comprehensive - it should cover all eventualities. When designed, you must think ahead to ANYTHING the user can throw at the algorithm so as not to throw up errors or make its use very limited.

    Understandable - a hard-to-understand algorithm will be difficult to explain to people and hard to debug.

    Concise - it should have no more steps than it needs.

    In conclusion, the most difficult part of creating an algorithm is CAPTURING ALL OF THE ABOVE in your thinking process.

    Hope this helps.

    Tom

    No comments. Post one | Permalink

  • by alcotester on April 20th, 2009

    alcotester

    The hardest part on creating algorithm, is to make it run faster then usual. To create algorithm is simple, but to create algorithm witch can make job faster then other alogirthm is big art. That's my opinion

    No comments. Post one | Permalink

  • by BAM@Cyberscrewed.tk on April 2nd, 2007

    BAM@Cyberscrewed.tk

    al·go·rithm

    al·go·rithm [álgə rìəm]
    (plural al·go·rithms)
    n
    1. problem-solving procedure: a logical step-by-step procedure for solving a mathematical problem in a finite number of steps, often involving repetition of the same basic operation
    2. problem-solving computer program: a logical sequence of steps for solving a problem, often written out as a flow chart, that can be translated into a computer program


    [Late 17th century. Alteration, after Greek arithmos "number," of algorism, via Old French and medieval Latin < Arabic al-Ḵwārizmī , name of the 9th century mathematician who introduced algorithms to the West]

    ---------------------------------------------
    Unless you're trying to solve the Riemann Hypothesis, an algorithm can be as simple as

    A+B=C

    Of course, the more advanced math you add to the mix, the more operations to need to complete to solve the problem in its entirety.

    No comments. Post one | Permalink

Want to attach an image to your answer? Click here.

Did this answer your question? If not, then ask a new question or create a poll.

More Questions. Additional questions in this category.

You're reading What do you think is the most difficult part of creating the algorithm?

Follow us on Facebook!

Related Ads

ANSWERBAG BUZZ

What do you think is the most difficult part of creating the algorithm
What do you think is the most difficult part of creating the algorithm
What do you think is the most difficult part of creating the algorithm
What do you think is the most difficult part of creating the algorithm
What is the most difficult part of creating an algorithm