Dynamic Programming Python1 Min Read LetuscrackonJanuary 25, 2026 Wildcard Pattern Matching The program must accept a text and a wildcard pattern as the input. The program must print “Matching” if…
Python1 Min Read LetuscrackonJanuary 21, 2026 Nested Triangle Pattern The program must accept an integer N as the input. The program must print a triangle based on the following conditions.– The triangle…
C1 Min Read LetuscrackonJanuary 17, 2026 Infinity Symbol Pattern Given a matrix M of size N*N as input, the program must print the output as shown in the Example Input/Output section. Boundary Condition(s):2…
C1 Min Read LetuscrackonJanuary 13, 2026 Pattern – Asterisk Edge Given a positive integer value N as input, print the pattern as in the Example Input/Output section. The outer edges must be represented by…
C Java Python2 Min Read LetuscrackonJanuary 7, 2026 Rotated Triangle Pattern Rotated Triangle PatternGiven an integer N, print the pattern as given in Example Input/Output section.Note: N is always an odd number.…
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.…