Tree

General Tree Data Structure Example in C#: Printing levels of the Tic-tac-toe Game Tree

We can use the General Tree Data Structure in several ways. One of them is to create game trees. In this post, you will learn how to print some levels of the game tree for the popular game Tic-tac-toe. Tic-Tac-Toe The Tic-tac-toe game consists of a 3×3 board. One player places X’s on the board […]

General Tree Data Structure Example in C#: Printing levels of the Tic-tac-toe Game Tree Read More »

General Tree Data Structure Example: Printing levels of the Tic-tac-toe Game Tree

One of the General Tree Data Structure example of application is to create game trees. In this post, you will learn how to print some levels of the game tree for the popular game Tic-tac-toe. Tic-Tac-Toe The Tic-tac-toe game consists of a 3×3 board. One player place X’s on the board and the other one

General Tree Data Structure Example: Printing levels of the Tic-tac-toe Game Tree Read More »

General Tree Data Structure: implementation and usage in Java

The General Tree data structure is one of the classic data structures studied in a Data Structure and Algorithms course. You will learn here how to implement the general tree data structure. So, let’s start by stating what do we mean by General Tree. General Tree Definition A tree is a mathematical model. Therefore, it

General Tree Data Structure: implementation and usage in Java Read More »