Data Structures and Algorithms - CodeChef Discuss
Data Structures and Algorithms - CodeChef Discuss
com to post
your questions!
questions
CodeChef Discussion
tags
users
badges
unanswered
Search Here...
ask a question
questions
about
tags
faq
users
475
Hi all, I need your help to make a list of most used data structures and algorithms along with their tutorials,
implementation and some problems on them. It will be helpful to everyone in many ways. I request everyone to
contribute to this list by providing links to tutorials, problems, etc. I will keep updating this list regularly.
1. Binary Search : Tutorial, Problems, Tutorial, Implementation, Problem
276
Answers
Answers and Comments
Tags:
algorithm 672
datastructure 445
datastructure 350
algorithms 335
8. Depth First Traversal of a graph : Tutorial, Impelementation, Tutorial, Problems, Problem, Problem, Problem
9. Breadth First Traversal of a graph : Tutorial, Impelementation, Tutorial, Problems, Problem, Problem, Problem,
Flood Fill
10. Dijkstra's Algorithm : Tutorial, Problems, Problem, Tutorial(greedy), Tutorial (with heap), Implementation,
Problem, Problem
Related questions
Algorithm Analysis
11. Binary Indexed Tree : Tutorial, Problems, Tutorial, Original Paper, Tutorial, Tutorial, Problem, Problem,
Problem, Problem, Problem, Problem, Problem
12. Segment Tree (with lazy propagation) : Tutorial, Implementation, Tutorial, Tutorial, Problems, Implementation,
Tutorial, Implementation and Various Uses, Persistent Segment Tree, problems same as BIT, Problem,
Problem/HLD is used as well/
Kanpur
Monthly
rpogramming
contest
problem)
InterView:Fruitful Websites
Awesome resource for DS and Algorithms
16. Heap / Priority Queue / Heapsort : Implementation, Explanation, Tutorial, Implementation, Problem, Chapter
from CLRS
17. Modular Multiplicative Inverse
18. nCr % M
19. Suffix Automaton : Detailed Paper, Tutorial, Implementation (I), Tutorial, Implementation (II), Problem,
Problem, Problem, Problem, Tutorial, Implementation
20. Lowest Common Ancestor : Tutorial, Problems, Paper, Paper, Problem, Problem, Problem
21. Counting Inversions : Divide and Conquer, Segment Tree, Fenwick Tree, Problem
22. Euclid's Extended Algorithm
23. Suffix Tree : Tutorial, Tutorial, Intro, Construction : I, II, Implementation, Implementation, Problem, Problem,
Problem, Problem
24. Dynamic Programming : Chapter from CLRS(essential), Tutorial, Problems, Problem, Problem, Problem,
Problem, Tutorial, Problem, Problem, Problem, Longest Increasing Subsequence, Bitmask DP, Bitmask DP,
Optimization, Problem, Problem, Problem, Problem, Problem, Problem, Problem, DP on Trees : I, II
25. Basic Data Structures : Tutorial, Stack Implementation, Queue Implementation, Tutorial, Linked List
Implementation
26. Logarithmic Exponentiation
27. Graphs : Definition, Representation, Definition, Representation, Problem, Problem
28. Minimum Spanning Tree : Tutorial, Tutorial, Kruskal's Implementation, Prim's Implementation, Problem,
Problem, Problem, Problem, Problem
29. Efficient Prime Factorization
22 Just a suggestion. Sort this list according to their usage. Like, the algorithms which are most used would be ranked first,
then the rarely used problems.
after spending hours reading KMP from several sites and failing to understand, i found this one very straight forward and
well explaining: http://keithschwarz.com/interesting/code/?dir=knuthmorrispratt
@nishant2002 added :)
neo1tech9_7 (10 Nov '14, 00:52)
oldest
55 Answers:
1
newest
most voted
next
24
Thanks friends .These links are really useful for newbies like us. May Allah(swt) bless and guide all those who contributed
in collecting these links.
ahsankamal (13 Sep '14, 01:05)
A good initiative :)
29
link
link
28
The above link has lesser known but useful data structures.
link
Thanks a lot :)
neo1tech9_7 (07 Aug '14, 14:41)
17
link
Thanks a lot :)
neo1tech9_7 (07 Aug '14, 23:27)
17
link
Thanks a lot :)
neo1tech9_7 (13 Aug '14, 23:39)
11
Take a look of this website once....Explanation of all the algorithms from different sources can be found at one
place!!! http://algorithm.daqwest.com/
link
link
Nice Initiative I would recommend http://emaxx.ru/algo/ for the implementation and theory. Make use of google
translate. It also have a good set of questions in the end.
For DP I would recommend this the topic is nicely explained by Mimino.(For starters)
link
Added :). Though i prefer geeksforgeeks for implementation they comment their code in detail :) .
neo1tech9_7 (04 Aug '14, 03:06)
One might try http://emaxx.ru/ :) It's in Russian though, but Google translator might help.
link
link
next
[hide preview]
community wiki
ContactUs