A099 - Exp6
A099 - Exp6
#include <bits/stdc++.h>
using namespace std;
#define N 3
// stores matrix
int mat[N][N];
return node;
}
printf("\n");
}
// Driver code
int main()
{
// Initial configuration
// Value 0 is used for empty space
int initial[N][N] =
{
{1, 2, 3},
{5, 6, 0},
{7, 8, 4}
};
solve(initial, x, y, final);
return 0;
}