C Python1 Min Read LetuscrackonFebruary 15, 2025 Matrix – Column-wise Decrement Matrix – Column-wise Decrement: Given an integer N then form an N*N matrix by assigning the value N as starting value and incrementing…
Python1 Min Read LetuscrackonFebruary 1, 2025 Matrix Column-wise Sort Given a matrix M containing the elements in R rows and C columns. Sort the matrix elements in ascending order along each…
Python1 Min Read LetuscrackonJanuary 31, 2025 Square Matrix – Odd Integers The program must accept N integers and print a square matrix of size K*K with the odd integers present. In case there are…
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…