Ice-Cream of Montu Mia Again!Montu Mia is a student of “Omok School”. He likes to eat an ice-cream every day. But he also likes t...
|
Neat BracketsGiven a sequence of opening and closing parentheses ("(" and ")") you will have ...
|
Set UnionGiven two sets of integers, print the set containing the union of the two input sets. For example, g...
|
CrayonsFive friends A, B, C, D and E has come to a shop to buy crayons for their art project. They need cra...
|
Byang and War TacticsByang is learning about War Tactics from Raat, a famous martial arts master, who has successfully tr...
|
Sofdor Ali and Bracket SequenceSofdor Ali has invented a new game. He asked his assistant Jong Bahadur ( who happens to be a monkey...
|
Data StructureThe operations that are performed in a data structure can be categorized into two types: query and u...
|
Distinct DishtingYou are given an array of NNN integers. Then there will be QQQ commands of the following type: Cha...
|
Smallest SubarrayYou are given an array A of N integers A1, A2, A3, ..., AN . If we select two indices (1 ≤ i ≤ j ≤ N...
|
Array SimulationYou are given an array of N elements. Initially all the indices have a value of 0. You have to do fo...
|
Device IDA device ID is a distinct number associated with a smartphone or similar handheld device. Every smar...
|
DistinctnessA substring of string S is another string S' which occurs in string S. For example: S = aaba and one...
|
Primary Key"Clarity-Lon" is the new awesome e-commerce based startup that went to the top of the char...
|
Rio and InversionOne day Rio was returning home from his university and unfortunately lost his phone on the way. He a...
|
Special PairMr. X is an “array pagla” person. He loves doing different types of things with arrays. Today Mr. X ...
|
Village Fair 2There are N houses in a village far away from here. They are numbered from 1 to N. For this problem ...
|
Maintain the Queue“Ajob Desh” is a strange country. Anyone who wants to buy train tickets need to go to the railway st...
|
Subset of SequencesYou will be given a set of sequences. Each sequence is a list of numbers. Two sequences are K-simila...
|
Perseus and The New ChallengeThe life of princess Andromeda, the daughter of King Cepheus and Queen Cassiopeia of Ados, is in dan...
|
Mario and Princess PeachThe world of Mario can be imagined as 2D grid of NNN rows and MMM columns--containing a total of N×M...
|
Final Days of GoldfingerWe see agent Bond once again being called in time of a great need. The vile criminal Auric Goldfinge...
|
Smart Query HandlerBit operators perform bit-wise operations between two binary numbers. Wikipedia says, binary operati...
|
Earthquake!Most houses are not as safe as they could be. Earthquake engineering is an interdisciplinary branch ...
|
Expandable ListViewMinas is working on his new language. He want to add a feature call expandable listview. Here he exp...
|
New Year CoupleThe new year 2017 is here. To celebrate the 31st night, Mr Rio has thrown a big party at his house. ...
|
2Sat, Adhoc, ApolloneasTheorem, Backtracking, BFS, Bignum, BinarySearch, BipartiteMatching, Bitmask, BruteForce, ChineseRemainderTheorem, Combinatorics, ConvexHull, CutVertex, DataStructure, DFS, DigitDP, DisjointSets, DivideAndConquer, DP, Eertree, EulerTour, ExpectedValue, FenwickTree, FFT, Flow, Game, GCD, Geometry, Graph, Greedy, Hashing, HeavyLightDecomposition, Implementation, InclusionExclusion, Interactive, KnuthMorrisPratt, LowestCommonAncestor, Math, Matrix, MatrixExponentiation, MergeSortTree, ModularExponentiation, MOSAlgorithm, MST, NTT, NumberTheory, Parsing, PersistentLiChaoTree, PersistentSegmentTree, PollardRho, PriorityQueue, Probability, Queue, RabinMiller, RangeOrderStatistics, Scheduling, SegmentTree, ShortestPath, Simulation, Sorting, SparseTable, SpragueGrundyTheorem, SqrtDecomposition, Stack, String, StronglyConnectedComponents, SuffixStructure, TernarySearch, Tree, Trie, TwoPointer, WaveletTree