Candles Counting

Cerinta completa Tim is visiting his grandma for two days and is bored due to the lack of the electricity over there. That’s why he starts to play with grandma’s colorful candle collection. He aligned the candles from left to

Candies

Cerinta completa Alice is a kindergarten teacher. She wants to give some candies to the children in her class.  All the children sit in a line and each of them has a rating score according to his or her performance in the

CamelCase

Cerinta completa There is a sequence of words in CamelCase as a string of letters, , having the following properties: It is a concatenation of one or more words consisting of English letters. All letters in the first word are

Caesar Cipher

Cerinta completa Julius Caesar protected his confidential information by encrypting it using a cipher. Caesar’s cipher shifts each letter by a number of letters. If the shift takes you past the end of the alphabet, just rotate back to the

ByteLandian Tours

Cerinta completa The country of Byteland contains N cities and N – 1 bidirectional roads between them such that there is a path between any two cities. The cities are numbered (0,…,N – 1). The people were very unhappy about

Build a String

Cerinta completa Greg wants to build a string, of length . Starting with an empty string, he can perform operations: Add a character to the end of for dollars. Copy any substring of , and then add it to the

Bricks Game

Cerinta completa You and your friend decide to play a game using a stack consisting of N bricks. In this game, you can alternatively remove 1, 2 or 3 bricks from the top, and the numbers etched on the removed

Brick Tiling

Cerinta completa You are given a grid having N rows and M columns. A grid square can either be blocked or empty. Blocked squares are represented by a ‘#’ and empty squares are represented by ‘.’. Find the number of