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 *…
C1 Min Read LetuscrackonJune 11, 2024 Traverse Square Matrix – Spiral Clockwise A square matrix of size N*N is provided. The program must traverse the matrix spirally and print the elements in a single line. Input…
Python1 Min Read LetuscrackonJune 11, 2024 Forward and Reverse Order of Alphabets – Matrix Pattern Accept an integer N and an alphabet A as input. The program must print the pattern as shown in the Example Input/Output section below. (Note:…
Python1 Min Read LetuscrackonJune 10, 2024 Matrix – Inside Numbers Sum A set of numbers forming a matrix N*N is passed as input. The program has to print the sum of numbers which are not along the edges. Input…
C Java Python2 Min Read LetuscrackonJune 10, 2024 Matrix Palindrome The program must accept an integer matrix of size RxC as the input. The program must print YES if every row and every…
Python2 Min Read LetuscrackonJune 10, 2024 Matrix Rotation – Anti Clock Wise A M*N matrix having M rows and N columns containing integer values is passed as the input. The matrix must be rotated R times in counter-clock…