C ZOHO1 Min Read LetuscrackonJanuary 31, 2025 Odd length string diagonal pattern [ZOHO] Given a string S of odd length L, the program must print it twice as diagonals with the middle letter being the point of intersection.…
Python1 Min Read LetuscrackonJanuary 22, 2025 Print Matrix – Diagonal Zig Zag Print Matrix – Diagonal Zig Zag: An R*C matrix is passed as the input to the program. The program must print the values in zig-zag order…
Python1 Min Read LetuscrackonJune 11, 2024 Matrix Diagonal Pattern Given an integer matrix of size N*N as input, the program must print only the diagonal elements. The remaining elements must be replaced by *…
Python1 Min Read LetuscrackonJune 10, 2024 Diagonal Sum A set of numbers forming a matrix N*N is passed as input. The program has to print the sum of numbers along the diagonals. Input Format: The…
C1 Min Read LetuscrackonJune 8, 2024 Odd Length String Diagonal Pattern An odd length string S of length is passed as the input. The program must print the string S as two diagonal as shown in the example…