TCS : Code Vita Coding Test 2017 Solution for Problem : Chakravyuha You can see Problem Statement and Code for Chakravyuha here . Solution: The code to the chakravyuha is given below. You can also watch this video to learn how to write and execute the code. C++ code : #include<iostream> using namespace std; int main() { static int N; cout<<"Enter N:-"; cin>>N; int A[N][N]; int p = 1,R,C; R = C = N; for(int l=0;l<(N/2);l++){ for(int j=l;j<C;j++){ A[l][j] = p; p++; } for(int i=l+1;i<R;i++){ A[i][C-1] = p; ...