Love Letter

Mr.A has finally found the love of his life. Being a love expert Mr.P has given Mr.A an idea to writ...

K-String

We will call a string K-String if it consists of K distinct characters. For example, if K is 3 then ...

Is Anagram

An anagram is a word formed by rearranging the letters of another word. The words “listen” and “sile...

Problem in the Printer

Shamim bought a second-hand printer. However, there was a fault in that printer. The printer is prin...

Formatted Numbers

Read an integer variable and print it in which the digits are separated into groups of three by comm...

Is Palindrome

Given a word, print \texttt{Yes} if it is a palindrome, otherwise \texttt{No}. A palindrome is a wor...

Better Passwords

Byang is creating an account on Toph. He needs your help to create a strong password. Byang will giv...

Konami Code

The Konami code is a sequence of key/button presses that is implemented in many video games to unloc...

Reverse Man

Monu mia is a reverse man! Never heard of reverse man? It means if you ask him to write something in...

Convert String Into Palindrome

A palindrome is a word, number, phrase, or other sequence of characters which reads the same backwar...

Remove Duplicates

The problem is so simple. You are given a string and you have to remove all duplicate characters fro...

#Hashtag

Giving Hashtag in Social Network is very popular now a day. But Poltu is very new in Social Network....

Palindromic Naming Convention

In Strangeland, people name their child in a cute way. I’m sure you already know the way by the prob...

Genius Needs Help

You all know Emrul bhai, right? He is a genius guy. He knows how to add two integer numbers and so d...

Rename the Books

Everything is short in the Short Land. People use short words when talking to each other or writing ...

Match the Substring

String Matching is an important problem in computer science research and finds applications in data ...

Passwords

Alice wants to extract some passwords from a random string. A password can have any number of charac...

Distinctness

A substring of string S is another string S’ which occurs in string S. For example: S = aaba and one...

New Year Couple

The new year 2017 is here. To celebrate the 31st night, Mr Rio has thrown a big party at his house. ...

Game of Palindromes

In a popular computer game, Game of Palindromes also known as GOP there is a city called Palindesh. ...