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 LetuscrackonJanuary 22, 2025 Search String S2 in S1 Character Matrix Search String S2 in S1 Character Matrix: Given two strings S1 and S2, form a R*C matrix with the string S1 (You may repeat the string S1 to…
C1 Min Read LetuscrackonJanuary 19, 2025 Matrix Next Greatest Column Element Matrix Next Greatest Column Element: A matrix of size R*C is given as input. The program must print the next greatest number present below…
Python2 Min Read LetuscrackonDecember 12, 2024 Product of Matrix and it's Transpose Program In Python The program must accept two positive integers M and N as the input. The program must generate a 4×4 integer…
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…