Introduction to automata theory, languages & computation 2nd edition by John E. Hopcroft, Rajeev Motwani, Jefrey D. Ullman Free Download.
Wednesday, October 26, 2011
Free Download Software Engineering by Roger S. Pressman
Labels:
Books
Computing with C# and the .NET Framework by Art Gittleman Free Download
Free Download Computing with C# and the .NET Framework by Art Gittleman.
Labels:
Books
Free Download Introduction to Languages and The Theory of Computation by John C. Martin
Free Download Introduction to Languages and The Theory of Computation by John C. Martin
Labels:
Books
Sunday, September 18, 2011
Wednesday, July 13, 2011
Difference between BFS and DFS
Breadth-first search (BFS) and depth-first search (DFS) are the two algorithms used for traversing and searching a node in a graph. They can also be used to find out whether a node is reachable from given node or not.
In depth-first search traversal we try to go far from the root node. Nodes are visited by going through the depth of the tree from starting node. When we reach at the node which does not have any children then we backtrack and visit the child nodes on another branch.
The depth-first search traversal of above graph will be:
A B E F C D
Labels:
Important Topics
Tuesday, June 14, 2011
An Introduction to Programming Contest (Various Input\Output Systems)
If you are a beginner, you will find it very unusual sometime regarding taking inputs. Some problems will say, "The Program will continue till the END OF FILE:, some will say "Stop taking input if N=0" etc etc. Some important ways to take input will be described here:
1. If you are said to take an integer number (n) as input till the End Of File/ (EOF):
int main(){
int n;
while(scanf("%d", &n)!=EOF){
...........
...........
}
return 0;
}
return 0;
}
Labels:
Important Topics
Subscribe to:
Posts (Atom)