1. Sample input given with array size M is 4,array elements are 2,2,4,5 and num is 6 sum of 2 and 4 is 6 and 2 such pairs exist but consider only single unique pair i/p: 4 2245 6 o/p:1 2.Given a sentenceL and a letter in alphabet sort the strings in the sentence get all the strings and their respective positions i/p:planet earth is our home e o/p:earth 1 home 2 planet 5 3.given 2 numbers,N and P as an input ,form a circle with all the prime numbers below N written on it ,in a clockwise direction. expected to add all prime numbers starting from first position (ie 2) till sum exceeds P. The index at which sum exceeds P should be printed as an output i/p:20 25 o/p:4