2. Algorithms for Searching Sequences: A space ship from another galaxy lands on earth containing a strange computing device on board with the following behavior: whenever the input to the device is a sequence.of n real numbers S, and an integer k, the black box answers “YES” or “NO” indicating whether the sequence S contains a subsequence of numbers whose sum is exactly k. We know nothing else about the workings of the computing device. Design an algorithm that
PayPal Gateway not configured
PayPal Gateway not configured