Count triplet with sum smaller than a given value

1 min read

https://practice.geeksforgeeks.org/problems/count-triplets-with-sum-smaller-than-x5549/1

Maximum sum such that no 2 elements are adjacent
Merge 2 sorted arrays