C1 Min Read LetuscrackonMarch 17, 2025 Matrix Row Sum Matrix Row Sum: Given a R*C matrix (R – rows and C- Columns), print the sum of the values in each row as the output. Input Format:First…
Python1 Min Read LetuscrackonMarch 8, 2025 Matrix Add Top Row Matrix Add Top Row: A matrix of size R*C is given as the input to the program. The program must add the elements in the first row in each…
C Python2 Min Read LetuscrackonFebruary 24, 2025 Search a Word in a Matrix Search a Word in a Matrix: The program must accept a character matrix of size R*C and a string S as input. The program…
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…