arrays linked lists trees graphs

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • momotaro
    Contributor
    • Sep 2006
    • 357

    arrays linked lists trees graphs

    Could some one explain to me what are the criteria to choose array implementation or linked lists implementation or trees implementation or graphs implementation… ?


    THK!
  • weaknessforcats
    Recognized Expert Expert
    • Mar 2007
    • 9214

    #2
    These are all containers of one sort or another. First question: Are you writing in C++?

    Comment

    • momotaro
      Contributor
      • Sep 2006
      • 357

      #3
      No am not using c++ am using only C

      Comment

      • AdrianH
        Recognized Expert Top Contributor
        • Feb 2007
        • 1251

        #4
        Originally posted by momotaro
        Could some one explain to me what are the criteria to choose array implementation or linked lists implementation or trees implementation or graphs implementation… ?


        THK!
        Container criteria usually has to do with either speed or memory requirements. This is almost true for anything you code. Though flexibility may be a criteria, that can be usually contrained by speed or memory too.


        Adrian

        Comment

        Working...