Select Page

My Log


Computer Science

Water Jug Problem using DFS

Water Jug Problem using DFS

DFS Algorithm: Depth first search is another way of traversing graphs, which is closely related to preorder traversal of a tree. Recall that preorder traversal simply visits each node before its children. It is most easy to program as a recursive routine:...

Tic Tac Toe

The Multiplayer Game of tic-tac-toe Abstract: The game is built over a 3X3 matrix which is used by two players use it alternatively. The two players alternate between ‘X’ and ‘O’ symbols. The game works on a few rules the first player to cross the following boxes win....


Kartheek chava