c++
Find longest subsequence formed by consecutive integers
Techie Delight Coding made easy Given an array of integers, find the length of longest subsequence formed by the consecutive integers. The subsequence should contain all distinct values and the character set should be consecutive, Read more…