Programs

Percentage Pattern

The program must accept an odd integer N as the input. The program must print the desired pattern as shown in Example Input/Output section.…

String Triangle Pattern

The program must accept a string S as the input. The program must print the desired pattern as shown in the Example Input/Output section.…

String X-Pattern

The program must accept a string S as the input. The program must print the desired pattern as shown in the Example Input/Output section.…

Mirror of L Pattern

The program must accept a string S as the input. The program must print the desired pattern as shown in the Example Input/Output section.…

Integer K Pattern

The program must accept an odd integer N as the input. The program must print the desired pattern as shown in the Example Input/Output…

Spiral Pattern

Print a spiral pattern for the given size. If input is zero, print -1 Input Format The input consists of a single integer n representing the…

Alternate 1s And 0s

The program must accept an integer N as the input. The program must print YES if the binary representation of N contains 1’s and…

Distinct K

Problem StatementAshish is provided with a collection of n strings in which some strings are of repeating nature and he has been given with a…

Subscribe to our Newsletter

Subscribe to our email newsletter to get the latest posts delivered right to your email.
Pure inspiration, zero spam ✨