Sasha, Misha & Their String Fight Sasha loves strings. She always performs various operations on strings. One day while working on a s...
Moderate
75/105/180 |
Luckily Unlucky Jashim is a real lucky person. He buys lottery tickets a lot and wins most of them. He buys a bunch ...
Very Easy
65/66/87 |
Wakanda Forever We all know that Thanos has erased half of the population of the universe. Earth’s population was al... |
Nusrat's Treat We all know how much Nusrat loves chocolate! She gets a lot of chocolate from her friends and family... |
Master Plan Gakra Miah is a Wollywood movie lover. He watches movies almost everyday. He has watched so many mov... |
Very Easy Geometry In geometry, an isosceles triangle is a triangle that has two sides of equal length. Sometimes it is...
Moderate
92/100/234 |
Tree Queries You are given a tree of n vertices. Each vertex contains an integer. Vertex 1 is the root of the tre... |
Another Query on String You are given a string S (of length n) consisting of alphabets only. You need to perform m queries o... |
N Factorial! I like short descriptions and I think you so too. Let's say you have a number, N. Now try to find th... |
Issue'r Desh People can be so hype-driven sometimes. One moment they are talking about something serious, an acci...
Moderate
130/162/423 |
Practice Time As you know many IUPC's are knocking at the door and Jak realized he should do more practice of solv...
Very Hard
83/87/150 |
Is It a Perfect Square? Given some numbers, can you tell, if the product of these numbers are a perfect square or not? A num... |
Maruo and the Sequence Maruo has a sequece A = {a1,a2,......an}. Let us define a function func(A,l,r) which is the minimum... |
Again LCS You are given two permutations of the numbers from 1-N called P1 and P2. You are also given two inte... |
Datta's Dilemma Datta, the famous sport programmer and gamer emerging from the southern part of Bangladesh is in dil... |
Nested Palindromes You will be given the length of a string N and the size of the character set allowed for the string ... |
LIAS 2 You will be given an array and an integer K. You have to find the longest increasing sub-sequence fr... |
Repeating Units A number is called repunit (Repeating Units) if the number is made of only 1’s, uch as 1,11 or 11111... |
Bangladesh Has Got Talent In music, there are 12 notes. In sequence, they are A, A#, B, C, C#, D, D#, E, F, F#, G, G# . Every ... |
Just Another Range Query This is another simple range query problem where you will perform some updates and answer some queri... |
Value Assignment Problem 2 You will be given a Tree and an array D. You will have to assign values in each node in the tree (sa... |
Pias and His Infinite String Pias makes a string P by choosing some distinct lowercase letters. Then he makes another string Q by... |
Set, Intersection and Range You are given N sets of integers (S[1] , S[2] , S[3] , ... , S[N]) and Q queries. Each query has 4 i... |
Itachi's Challenge Sasuke is a 12-year old ninja who is very much interested in learning Ninjutsu (A tactic used by nin... |
Pascal's Triangle Given an integer N, print the sum of the Nth row of the Pascal's triangle. In mathematics, Pascal's ... |