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...

Formatted Numbers

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

Problem in the Printer

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

Is Anagram

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

K-String

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

Is Palindrome

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

Konami Code

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

Better Passwords

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

Convert String Into Palindrome

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

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...

Palindromic Naming Convention

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

#Hashtag

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

Reverse Man

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

Remove Duplicates

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

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...

Rename the Books

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

Isomorphic Graph

You are given two connected graphs G_1 and G_2. Both of the graphs have N vertices and N number of e...

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. ...