Thread: why should one spend time learning data structure and algorithms?

  1. #1
    Registered User
    Join Date
    May 2022
    Posts
    2

    why should one spend time learning data structure and algorithms?

    new to programming, new to c. (less that 6 months).
    interested in game programming, linux and open source projects.
    What are the benefits of learning DSA?

    Thank you.
    Last edited by flow; 05-15-2022 at 04:42 AM.

  2. #2
    and the hat of int overfl Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    39,661
    > What are the benefits of learning DSA?
    The ability to write programs that take up more code and time than the usual 1-page student homework, finished in a single edit.

    For example, if your program needed to sort some input, and you knew nothing about sorting algorithms, chances are you would stumble into some version of bubble sort as your first implementation.
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.

  3. #3
    Registered User
    Join Date
    May 2022
    Posts
    2
    Thanks,

    The ability to write programs that take up more code and time than the usual 1-page student homework, finished in a single edit


    can you elaborate ?

  4. #4
    Registered User rstanley's Avatar
    Join Date
    Jun 2014
    Location
    New York, NY
    Posts
    1,111
    Quote Originally Posted by flow View Post
    Thanks,

    can you elaborate ?
    Why don't you start with the link that Salem just provided.

    After that, choose one of the books from several lists on Data Structure and Algorithms.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 0
    Last Post: 03-02-2020, 12:48 PM
  2. Insight with my Time Scheduling Algorithms program
    By Joures in forum C Programming
    Replies: 11
    Last Post: 01-22-2014, 01:19 AM
  3. Algorithms and Data Structures...
    By Junior89 in forum C++ Programming
    Replies: 2
    Last Post: 04-05-2007, 05:13 AM
  4. Sorting Algorithms with Time
    By silicon in forum C++ Programming
    Replies: 3
    Last Post: 05-03-2005, 11:27 AM
  5. professional programmers, do you spend more time writing or modifying code
    By Terrance in forum A Brief History of Cprogramming.com
    Replies: 29
    Last Post: 11-25-2002, 10:54 PM

Tags for this Thread