Register for your free account! | Forgot your password?

Go Back   elitepvpers > Coders Den > General Coding
You last visited: Today at 10:08

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



[Algorithm] Recommend books, tuts, anything you think is necessary

Discussion on [Algorithm] Recommend books, tuts, anything you think is necessary within the General Coding forum part of the Coders Den category.

Reply
 
Old   #1


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,653
[Algorithm] Recommend books, tuts, anything you think is necessary

Hello guys, recently I started problem solving at sites like codeforces, topcoder. It's very interesting but, I noticed that everyone is using algorithms to solve the problem or to make it faster. The question is, how do I start learning algorithms, I don't want to waste time reading some useless stuff, I want a fast and an effective way to learn algorithms and more sites so I can practice them, etc.

Any books, I honestly prefer books, I love reading

Also if you know some cool websites with good communities for problem solving like the 2 I mentioned above, please drop them here.
​Exo is offline  
Old 04/13/2015, 17:15   #2



 
Serraniel's Avatar
 
elite*gold: 0
The Black Market: 205/1/0
Join Date: May 2010
Posts: 6,853
Received Thanks: 5,106
It is mich about maths as well.
Learning algorithm depends much in your idea to use them.
In university for example you learn algorithms you normally wouldn't implement yourself like developing hashmaps, list,queues etc.

If you work woth numbers you may come to a point where you implement euklid...

Base things you should now are like calculating runtime.
Serraniel is offline  
Old 04/13/2015, 17:50   #3

 
snow's Avatar
 
elite*gold: 724
Join Date: Mar 2011
Posts: 10,479
Received Thanks: 3,318




I used the MIT course for preparation and it certainly helped but if you haven't covered algorithms yet, I'd suggest the book.

Oh, and yet another website: - used it exclusively for my interview preparation.

@Serraniel: You're talking about data structures, not algorithms. And despite their availability in standard libraries, knowing how they are implemented is essential. He's specifically asking for books about algorithm & data structures which you should know both in order to design efficient algorithms.
snow is offline  
Thanks
1 User
Old 04/14/2015, 00:19   #4


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,653
Is there any requirements needed before I start with the book?
​Exo is offline  
Old 04/14/2015, 17:45   #5
 
elite*gold: 0
Join Date: Dec 2014
Posts: 442
Received Thanks: 211
Quote:
Originally Posted by Exo View Post
Is there any requirements needed before I start with the book?
Basic knowledge of solving basic / advanced (depends what you're planning to do) math problems and of course knowledge about programming languages in general

And also as snow has suggested, is a great online portal!
The "Pick One!" option on the website is basically generating a random task and you'll need to solve
e.g. sorting an array the fastest way.
_asm is offline  
Old 04/14/2015, 17:58   #6


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,653
Can someone explain why "Introduction to Algorithm" is a bad choice?
​Exo is offline  
Old 04/14/2015, 21:18   #7

 
snow's Avatar
 
elite*gold: 724
Join Date: Mar 2011
Posts: 10,479
Received Thanks: 3,318
Because it covers a lot of algorithms you'll never need and it's really boring to read.

I'd rather read a book that covers the most important ones and uses lots of examples (e.g. The Algorithm Design Manual, it covers data structures[lists, stacks, queues, BST, priority queues, hash tables], sorting and searching [heap, merge, quick, binary etc.], graphs [BFS, DFS] and much more).
snow is offline  
Thanks
2 Users
Old 04/16/2015, 12:54   #8


 
​Exo's Avatar
 
elite*gold: 28
Join Date: Aug 2014
Posts: 4,096
Received Thanks: 2,653
Quote:
Originally Posted by snow View Post
Because it covers a lot of algorithms you'll never need and it's really boring to read.

I'd rather read a book that covers the most important ones and uses lots of examples (e.g. The Algorithm Design Manual, it covers data structures[lists, stacks, queues, BST, priority queues, hash tables], sorting and searching [heap, merge, quick, binary etc.], graphs [BFS, DFS] and much more).
Looks nice, also skiena's lectures are available, I guess I will go for it.

btw, what do you think of competitive programming 3?
​Exo is offline  
Old 04/16/2015, 13:09   #9

 
snow's Avatar
 
elite*gold: 724
Join Date: Mar 2011
Posts: 10,479
Received Thanks: 3,318
Never heard of it. I've used Cracking the Coding Interview to prepare for my interviews and I'd recommend it because it teaches you how to approach problems.
snow is offline  
Old 10/29/2016, 14:33   #10
 
elite*gold: 0
Join Date: Feb 2007
Posts: 7
Received Thanks: 0
Smile algorithm

it is mostly heard in mathematics. but what really is algorithm? base on my experience and understanding, example you are given a problem and how do u solve it? the steps in the solution is an algorithm. or in programming or making a system we first analyze the system that we are going to make then we analyze how can we make the system, the steps in how to achieve that system or solution is what we call an algorithm, and we take that algorithm and put it into a method like method(). for example 1+1*1=? how do we get this answer is the algorithm
joeguytag is offline  
Reply


Similar Threads Similar Threads
[Just another graph-related algorithm] Kruskal`s algorithm
07/25/2012 - CO2 Programming - 11 Replies
(Scroll down for the code if you aren`t interested in my wall of text.) Okay, my previous post on Dijkstra`s algorithm didn`t really get the attention it was supposed to get, but I`m still starting a trend out of this. What exactly? I will be posting general purpose algorithms from time to time, as I truly believe that this is one of the most fundamental and important aspect of being a good coder : knowing the basic algorithms (lol?). If anyone can provide a way of implementing this in a CO...
L2 enchant algorithm
03/18/2011 - Lineage 2 - 0 Replies
Hello everyone! I wan't to know the algorithm of the enchanting system on L2j if someone could help!.....I actually wanna know how it works and if there's something i can do to proliferate the chances to enchant a weapon for example! thanks guys! great forum!
Getting blowfish key and using the algorithm
03/17/2011 - SRO Coding Corner - 10 Replies
Good evening:) I am still busy with the packets of silkroad and I'm now trying to understand on how to decrypt the packets but I'm having some problems with it. I read drew benton's artikel about the silkroad security but I still don't know on which blowfish key is used to decrypt the packets. let's say these four packets are the first 4 S -> C 00000 25 00 00 50 00 00 0e d2 a9 27 80 2d c3 23 6c f6 %..P.....'.-.#l. 00016 00 00 00 62 00 00 00 8d ac fe 38 3d d0 9c ef 67 ...



All times are GMT +1. The time now is 10:08.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.