- Find two prime numbers with given sum
- Longest consecutive sequence in Binary tree
- Median of two sorted arrays of same size
- Number of paths with exactly k coins
- Rearrange characters in a string such that no two adjacent are same
- Replace every element with the greatest element on right side
- Check if a given number is sparse or not
- Find Next Sparse Number
- Unbounded Knapsack
- Binary Search Tree | Set 2 (Delete)
- Iterative diagonal traversal of binary tree
- Find whether there is path between two cells in matrix
- Form minimum number from given sequence
- Inorder Successor in Binary Search Tree
- Print all k-sum paths in a binary tree
- Smallest subarray with sum greater than a given value
- Smallest positive integer value that cannot be represented as sum of any subset of a given array
- Rotate bits of a number
- Swap all odd and even bits
- Shuffle array {a1, a2, .. an, b1, b2, .. bn} as {a1, b1, a2, b2, a3, b3, ……, an, bn}
- Rearrange array in alternating positive & negative items
- Rearrange array in alternating positive & negative items (maintain order)
- Rearrange positive and negative numbers with constant extra space
- Rearrange array in alternating positive & negative
- Reverse alternate levels of a perfect binary tree
Sharing is Caring !
Subscribe
0 Comments
Most Voted