Python2 Min Read LetuscrackonMarch 28, 2025 Zig-Zag Swap – Rows Zig-Zag Swap – Rows: The program must accept an integer matrix of size RxC as the input. The program must modify the matrix by…
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…
C Dynamic Programming2 Min Read LetuscrackonJune 9, 2024 String & Asterisks Zig-Zag Pattern The program must accept a string S and an integer N as the input. The program must form a character matrix of size NxN with the asterisks (*).…
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…
Python1 Min Read LetuscrackonJune 9, 2024 String Zig-Zag Pattern Given a string S and an integer N as the input, the program must split the string into groups whose size is N and print them as the output in…
Python2 Min Read LetuscrackonJune 6, 2024 Zig-Zag Product Row Zig-Zag Product Row: The program must accept an integer matrix of size R*C and two integers X, Y as the input. The…
Python2 Min Read LetuscrackonJune 5, 2024 Zig-Zag Robots Zig-Zag Robots: There are R robots in R rows (i.e., one robot in each row). There are two types of robots which are given below.Type…
Python1 Min Read LetuscrackonJune 5, 2024 Zig-Zag Triangle – String Pattern Zig-Zag Triangle – String Pattern: The program must accept a string S and an integer N as the input. The program…
Python4 Min Read LetuscrackonJune 5, 2024 Horizontal Zig-Zag Multiples Pattern Horizontal Zig-Zag Multiples Pattern: The program must accept an integer N as the input. The program must print the first N*N…