C1 Min Read LetuscrackonJanuary 2, 2026 Pattern – Half Pyramid Reverse Given a positive integer value N as input, print the pattern as in the Example Input/Output section. Input Format:The first line contains N.…
C Dynamic Programming2 Min Read LetuscrackonDecember 31, 2025 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 (*).…
Python1 Min Read LetuscrackonDecember 28, 2025 Rotate Matrix Pattern The program must accept an integer matrix of size N*N as the input. The program must rotate the matrix by 45 degrees in the clockwise…
C1 Min Read LetuscrackonDecember 28, 2025 Right Triangle with Asterisk Pattern The program must accept an integer N as the input. The program must print the desired pattern as shown in the Example Input/Output…
Python1 Min Read LetuscrackonDecember 5, 2025 Pattern Printing-Half Pyramid The number of rows N is passed as the input. The program must print the half pyramid using asterisk *. Input Format:The first line contains N.…
C Python1 Min Read LetuscrackonDecember 3, 2025 Pattern Printing – Floyd Triangle A number N is passed as the number of rows in Floyd’s triangle is passed as the input. The program must print the Floyd’s triangle…
Python1 Min Read LetuscrackonNovember 24, 2025 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…
C1 Min Read LetuscrackonNovember 23, 2025 Pattern Printing num & * Write a program that receives a number as input and prints it in the following format as shown below. Examples:Input:6 Output:…
C Hackerrank1 Min Read Hephzibai EnstinonNovember 21, 2025 Arrow Pattern Write a program that generates a pattern based on the input value n following a specific format. Input Format:The input is a single integer n,…
C1 Min Read LetuscrackonNovember 18, 2025 Matrix Pattern Printing – First / Last Higher Given an integer N as the input, print the pattern as given in the Example Input/Output section. Input Format: The first line contains N.…