-
Queries to update a given index and find gcd in range in C++
-
Querying the number of distinct colors in a subtree of a colored tree using BIT in C++
-
Queries to return the absolute difference between Lth smallest number and the R-th smallest number in C++
-
Find three integers less than or equal to N such that their LCM is maximum in C++
-
Query for ancestor-descendant relationship in a tree in C++
-
Find paths from corner cell to middle cell in maze in C++
-
Find smallest range containing elements from k lists in C++
-
Find the closest element in Binary Search Tree in C++
-
Find the direction from given string in C++
-
Find the element having different frequency than other array elements in C++
-
Find the element that appears once in an array where every other element appears twice in C++
-
Find the largest area rectangular sub-matrix whose sum is equal to k in C++
-
Find the largest multiple of 3 from array of digits - Set 2 in C++
-
Find the lexicographically smallest sequence which can be formed by re-arranging elements of second array in C++
-
Find the maximum cost of an array of pairs choosing at most K pairs in C++
-
Find the minimum number of rectangles left after inserting one into another in C++
-
Find the probability of reaching all points after N moves from point N in C++
-
Find the shortest distance between any pair of two different good nodes in C++
-
Find the starting indices of the substrings in string (S) which is made by concatenating all words from a list(L) in C++
-
Find the value of the function Y = (X^6 + X^2 + 9894845) % 981 in C++