- Choose atleast two elements from array such that their GCD is 1 and cost is minimum
- Find a pair from the given array with maximum nCr value
- Generate original array from difference between every two consecutive elements
- Count the number of operations required to reduce the given number
- Range Queries to Find number of sub-arrays with a given xor
- Minimum possible final health of the last monster in a game
- Find the largest interval that contains exactly one of the given N integers.
- Count the triplets such that A[i] < B[j] < C[k]
- Find the original coordinates whose Manhattan distances are given
- Minimum Possible sum of digits in a positive multiple of N
- Number of distinct pair of edges such that it partitions both trees into same subsets of nodes
- Number of ways to paint a tree of N nodes with K distinct colors with given conditions
- Find the lexicographical next balanced bracket sequence
- Number of ways to choose elements from the array such that their average is K
- Longest subsequence with first and last element greater than all other elements
- Total number of odd length palindrome sub-sequence around each centre
- Minimum operations to make sum of neighbouring elements <= X
- Find the number of p-sided squares in a grid with K blacks painted
- Maximum number of nodes which can be reached from each node in a graph.
- Kth smallest element in the array using constant space when array can't be modified
- Number of possible permutations when absolute difference between number of elements to the right and left are given
- Sum of all second largest divisors after splitting a number into one or more parts
- Find the final sequence of the array after performing given operations
- Find two integers A and B such that A ^ N = A + N and B ^ N = B + N

ajourney hasn't improved any 'Articles' yet!