C Python2 Min Read LetuscrackonJune 10, 2024 Matrix – Inverted L & Reverse L The program must accept an integer matrix of size NxN as the input. The program must print the layers of the matrix based on the…
C1 Min Read LetuscrackonJune 10, 2024 Matrix Find String Row-wise A character matrix of size N*N and a string S are given as input.The program must check if the string is present in the matrix row-wise and…
C1 Min Read LetuscrackonJune 9, 2024 Matrix Zig-Zag from Top Right The program must accept an integer N as the input. The program must print the desired pattern as shown in the Example Input/Output…
Python1 Min Read LetuscrackonJune 9, 2024 Rotate Matrix Pattern The program must accept an integer matrix of size N*N as the input. The program must rotate the matrix by 45 degrees in the clockwise…
C Dynamic Programming1 Min Read LetuscrackonJune 9, 2024 Matrix Zig-Zag from Top Left The program must accept an integer matrix of size R*C as the input. The program must print the elements from the top left of the…
C Dynamic Programming1 Min Read LetuscrackonJune 9, 2024 Matrix Zig-Zag from Bottom Right The program must accept an integer matrix of size R*C as the input. The program must print the elements from the bottom right of the…
C1 Min Read LetuscrackonJune 9, 2024 Matrix Diagonals Sum You are given a square matrix of size N*N.Calculate the sum of integers present in the two main diagonals Example 1: Input:35 10 1179 6 129 21…
C2 Min Read LetuscrackonJune 9, 2024 Word Search in Matrix The program must accept a character matrix of size R*C and a string S as input. The program must search the string S in…
C Java Python2 Min Read LetuscrackonJune 9, 2024 Matrix – Same Characters The program must accept a character matrix of size NxN as the input. The program must print YES if all the characters in the diagonals (both…
C1 Min Read LetuscrackonJune 9, 2024 2D MATRIX MODIFICATION A Matrix has R rows and C columns. Get the matrix as input and multiply the value in the cells of the matrix by a value E if it is even and…