Do you memorize algorithms such as binary search / quick sort / whatever. If so, do you have any tricks for doing so?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Its always better to find ways to understand the underlying principle of such algorithms rather than memorizing them. For example – Quick Sort uses Divide and Conquer paradigm (it is a design technique to solve a certain class of problems).
Wiki is a very good starting point to dissect a new topic. You can dig deep by watching video lectures (found this good post on Video Lectures here on SO) and other specific material such as concerned research papers.
Working out examples will also clarify the algorithm better.
I hope this helps.
cheers