How important is it to learn and understand...

Please support our Computer Science advertiser: Learn about neural networks and artificial intelligence.
Reply

Join Date: Jun 2004
Posts: 2,108
Reputation: server_crash is on a distinguished road 
Solved Threads: 18
server_crash server_crash is offline Offline
Postaholic

How important is it to learn and understand...

 
0
  #1
Jul 28th, 2005
My question: How important is it to learn and understand sorting algorithms and routines?
Reply With Quote Quick reply to this message  
Join Date: Feb 2005
Posts: 121
Reputation: tonakai is an unknown quantity at this point 
Solved Threads: 11
tonakai's Avatar
tonakai tonakai is offline Offline
Junior Poster

Re: How important is it to learn and understand...

 
0
  #2
Jul 28th, 2005
it is important when you need to use them... sometimes when you want to do something (like some type of sorting) you can't always find the libraries, so you need write them... at that time you will need them...
Good news, everyone!
aykutsoysal.com
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,614
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 713
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: How important is it to learn and understand...

 
0
  #3
Jul 28th, 2005
>How important is it to learn and understand sorting algorithms and routines?
It's very important. Even if you always use libraries (which is somewhat silly since libraries are designed to be generic and you may need something specific), sorting algorithms cover a huge number of techniques and concepts for designing, implementing, and analyzing algorithms in general. So if you know about sorting, you'll have an easier time with other (seemingly unrelated) algorithms, and even data structures.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Join Date: Jun 2005
Posts: 2,039
Reputation: Rashakil Fol is just really nice Rashakil Fol is just really nice Rashakil Fol is just really nice Rashakil Fol is just really nice 
Solved Threads: 139
Team Colleague
Rashakil Fol's Avatar
Rashakil Fol Rashakil Fol is offline Offline
Super Senior Demiposter

Re: How important is it to learn and understand...

 
0
  #4
Jul 28th, 2005
Generally speaking, the more you learn about and think about algorithms (of any kind), the better programmer/problem solver you become. Sorting algorithms are one prevalent example, but in general, it's always a good idea to learn how things work. That way you'll end up thinking, "I need this done, and I can write function X to do it," instead of, "Where can I find function X to do this for me?" (Not that code reuse is bad, just that if I ever see another PHP coder (just to stereotype) ask, "How do I find if a given string is in an array?" I'm going to have to reconsider suicide for the 3rd time.)
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 2,108
Reputation: server_crash is on a distinguished road 
Solved Threads: 18
server_crash server_crash is offline Offline
Postaholic

Re: How important is it to learn and understand...

 
0
  #5
Jul 30th, 2005
Thank for the replies. That was actually exactly what I'm looking for. I have trouble thinking through the logical "non-sense" problems that are almost always at coding competitions. I was trying to think of a way to improve the way I look at problems and alogorithms in general, and the replies I got helped me out.

Thanks.
Reply With Quote Quick reply to this message  
Join Date: Jun 2004
Posts: 609
Reputation: freesoft_2000 is an unknown quantity at this point 
Solved Threads: 7
freesoft_2000 freesoft_2000 is offline Offline
Practically a Master Poster

Re: How important is it to learn and understand...

 
0
  #6
Jul 31st, 2005
Hi everyone,

Is important to learn them by heart. I always jot down mathematical sorting formulas and practice them on pencil and paper and then convert them into programming. Yes some people say i have a stupid way of doing things but guess what it helps me and think that its good because it builds on my math and programming skills.

For example i was talking to my colleague(he does the hiring) and once he asked a C++ programmer how does he calcualte this.

Log base2 5

The programmer did not know how to do it but said he only knew base 10. The best part was he was from a very highly reputable college in the US

Basically to sums everthing up its important

Richard West

****************************************************************
Microsoft uses "One World, One Web, One Program" as a slogan.
Doesn’t that sound like "Ein Volk, Ein Reich, Ein Führer" to you, too?
— Eric S. Raymond

Tell me what type of software do you like and what would you pay for it

http://www.daniweb.com/techtalkforums/thread19660.html
Reply With Quote Quick reply to this message  
Join Date: Sep 2004
Posts: 7,614
Reputation: Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute Narue has a reputation beyond repute 
Solved Threads: 713
Team Colleague
Narue's Avatar
Narue Narue is offline Offline
Code Goddess

Re: How important is it to learn and understand...

 
0
  #7
Jul 31st, 2005
>Is important to learn them by heart.
That's stupid, and a waste of your brain. It's important to understand them. Beyond that, there's plenty of reference material so that you don't need to spend time memorizing things that can be looked up. Learning the algorithms by heart can come out of understanding them if you use them fairly regularly, but memorizing for the sake of seeming intelligent is dumb.
I'm here to prove you wrong.
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Computer Science Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC