Professional Documents
Culture Documents
Lecture-14 Assignments
Lecture-14 Assignments
Function Matrix:
for (i = 0 ; i < n ; i++)
for (j = 0 ; j < n ; j++)
if (i == j)
A[i][j] = 1;
else
A[i][j] = 0;
10. Find the order of nodes in preorder, postorder, and inorder traversals
39
70 83
53 61 72 16
24 48 cd
a b