/* Depth first search algorithm extends the current path as far as possible before backtracking to the lastchoice point and trying the next alternative path. Depth first search may fail to find a solution if it enters acycle in the graph. This can be avoided if we never extend a path to a node which it already contains.*/

Read More »

/*In graph theory,  Breadth First Search (BFS) is a technique for searching in a graph when search is limited to essentially two operations: (a) visit and inspect a node of a graph; (b) gain access to visit the nodes that neighbor the currently visited node. The BFS begins at a root node and inspects all the neighboring nodes.

Read More »

A function is a self defined block of statements that performs specific tasks for some time. A function is an assignment or a task that must be performed to complement the other part(s) of a program. Every C or C++ program has at least one function which is main(),  you can define your own functions as […]

Read More »

Home | Contact Us | Sitemap