group3.c
void g3_freeMCTree(g3_MCnode *root) {
    if (root == NULL)
        return;

    int i;
    for(i = 0; i < NUM_COLS; i++) {
        g3_freeMCTree(root->moves[i]);
    }

    free(root);
}
// Clean up the Monte-Carlo Tree
Clean up the Monte-Carlo Tree
Clean up the Monte - Carlo Tree
void g3_freeMCTree(g3_MCnode *root) {
    if (root == NULL)
        return;
    int i;
    for(i = 0; i < NUM_COLS; i++) {
        g3_freeMCTree(root->moves[i]);
    }
    free(root);
}
void g3_freeMCTree ( g3_MCnode * root ) { if ( root == NULL ) return ; int i ; for ( i = 0 ; i < NUM_COLS ; i ++ ) { g3_freeMCTree ( root -> moves [ i ] ) ; } free ( root ) ; }
Clean up the Monte-Carlo Tree
Clean up the Monte - Carlo Tree