Find the sum of Eigen Values of the given N*N matrix
Given an N*N matrix mat[][], the task is to find the sum of Eigen values of the given matrix.Examples: Input: mat[][] = { {2, -1, 0}, {-1, 2, -1}, {0, -1, 2}} Output: 6Input: mat[][] = { {1, 2, 3, 4}, {5, 6, 7, 8}, {9, 10, 11, 12}, {13, 14, 15, 16}} Output: 34 Approach: The sum of Eigen values of a