MaxXORYou are given an array A of n integers (A1, A2 , ... , An) and some queries. In each query, you will...

Rise upYou are given N piles of stones. The piles are numbered 1 to N from left to right. Each pile contain...

No GCDYou are given N integers. Each integer is square free (i.e. it has no divisor which is a square numb...

Gaaner KoliThe protagonists of this problem are two great programmers of a certain institution Omanush and Ordi...

Harry Potter and the Vault of Gringotts"There was a breakin of Gringotts Wizarding Bank on 1 May, 1998, during the height of the Seco...

Alice in CandylandAlice came up with a new game. In this game called "Candy Quest", there is a NxN size 2D g...

Subset MultiplicationIn mathematics, especially in set theory, set A is a subset of set B, or equivalently B is a superse...

Super ShopA super shop sells only 26 items, labeled them from ‘A’ to ‘Z’. The shop stores the list of products...

ChocolateThere is a shop named Chocolove in the Codeland. There are many chocolates in the shop. Each chocola...

EasyThis problem is very easy. As my mood is not so good, I will not elaborate the statement unnecessari...

Photo MatchingYou’ll be given two matrix M1 and M2 and another integer K. The size of both M1 and M2 are N*N and e...

Ant QueryScientists from the planet Krypton have figured out a way to grow artificial sugar in space. They ha...

Escape the Planet EarthAs you know earth is affected by corona virus. Situation becomes worse day by day .Almost 80% people...

Shopping is Fun!!Mr. Hikiko passed his Eid without shopping because of ongoing lockdown. Now, Govt. removed the lockd...

Race in DomKiThere is a kingdom called DomKi. DomKi has N city and N1 twoway road. Each city is numbered with 1...

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