Happy SubSequenceRecently Alex has participated in a programming contest. He bec...

Snake's NeckRemember Violet and Dash from the movie “The Incredibles”? The t...

Is Bita Happy?Bita has learned bitwiseoperations recently. She is doing some ...

Burger KingEvery day, more than 11 million guests visit BURGER KING® restau...

Harry Potter and the Vault of Gringotts“There was a breakin of Gringotts Wizarding Bank on 1 May, 1998...

LIDSWe all know about LIS ( Longest Increasing Sub sequence). The ta...

Third DimensionMr. J wants to learn about combinatorics. He started reading a b...

Alice in CandylandAlice came up with a new game. In this game called “Candy Quest”... 
Convert String Into PalindromeA palindrome is a word, number, phrase, or other sequence of cha... 
Polygon Construction (Hard)Meera in going to picnic with her friends. They are going to hav...

No GCDYou are given N integers. Each integer is square free (i.e. it h... 
OCD Returns!This problem author has OCD (obsessive–compulsive disorder). One... 
Easy Sequence 1Let’s define an easy sequence F. Where $ F(1) = 1 $ $ F(2X) = ...

Easy Sequence 2Let’s define a easy sequence F. Where $ F(1) = 1 $ $ F(2X) = F...

The Game of RocksAlice and Bob have come up with a new game. Bob gives Alice a N...

Gaaner KoliThe protagonists of this problem are two great programmers of a ...

The Perfect CollectionGiven an array A of N integers, if we choose any K of these inte... 
Sticking PinsYou are sticking pins on a 2D board at N given coordinates. Howe...

Smart Feature Phone 2Alice worked in CIA. Right now he need to send an encrypted me...

Perseus and The New ChallengeThe life of princess Andromeda, the daughter of King Cepheus and...

Dominoes ForeverOnce when I was little, my father took me to a tobacco shop! It ...

Pathetic Interview IIYou all know about the story of Pathetic InterviewI. Today, I a... 
Subarray SumYou are given an array having N integers. You have to select at ...

Maximum SumLittle Jimmy loves to play with numbers. One day he was playing ... 
Very Dirty StringStrings are difficult, most of the contest programmers say this ... 
Orchid DivisionQuido has a square orchard full of various fruit and nut trees. ...

Counting MurgisEver since that wicked thief took away some of her murgis (hens,...

Game of TicTacToeAlice and Bob is a playing a game of tictactoe, to be precise ... 
T5 RacingIt is high time for the annual T5 racing and your team is planni... 
Game of PalindromesIn a popular computer game, Game of Palindromes also known as GO... 
Unique ReliefThanos has now figured out how to visit all the houses in the fl...

Rainy DayYou have to complete N tasks tomorrow, where each task can last ...

Greedy Algorithm

Matrix Exponentiation
