Python1 Min Read LetuscrackonDecember 4, 2024 Rotate Matrix Anticlockwise The program must accept an integer matrix of size NxN as the input. The program must rotate the given matrix by 90 degree in…
C1 Min Read LetuscrackonNovember 16, 2024 Inverted L-Shaped Matrix Given a squarematrix of size S, print the matrix in the format given in Example Input/Output section. Input Format:The first line…
Python2 Min Read LetuscrackonNovember 13, 2024 Tree Shadow within Matrix Certain number of trees are planted in a rectangular matrix field. The trees were planted in an R*C rectangular matrix but certain trees did…
Python ZOHO1 Min Read LetuscrackonJune 12, 2024 Smaller Matrix Search [ZOHO] Smaller Matrix Search [ZOHO]: A bigger NxN matrix is passed as the input. Also a smaller MxM matrix is passed as input. The program must print…
C Java Python3 Min Read LetuscrackonJune 12, 2024 Two Matrix Spiral Print The program must accept two square matrices which are of size N*N. Then the values in the matrices must be printed spirally in clock wise…
C Java Python4 Min Read LetuscrackonJune 12, 2024 Find the Maximum Element in a Matrix You are given a matrix of size R*C containing integers. Write a program to find the maximum element present in the matrix. Note: Make sure to…
C Java Python4 Min Read LetuscrackonJune 12, 2024 Find the Sum of All Elements in a Matrix You are given a matrix of size R*C containing integers. Write a program to find the sum of all elements present in the matrix. Note: Make sure…
Java1 Min Read LetuscrackonJune 11, 2024 Reverse Columns In Matrix Given a square matrix of size N, reverse column values in the matrix and print the modified matrix as the output. Boundary Condition:1<= N…
Python1 Min Read LetuscrackonJune 11, 2024 Search Hexadecimal Value – Matrix The program must accept a character matrix of size RxC containing only hexadecimal digits and an integer X as the input.…
Dynamic Programming Python1 Min Read LetuscrackonJune 11, 2024 DP – Matrix Ways from Top Left to Bottom Right The number of rows R and columns C of a matrix are passed as the input. The program must print the number of ways W to traverse from the top…