Coding Questions | Index of Smallest Element | Codewindow.in
Given an array of n distinct elements, find the index j of pth smallest element from the element from the elements which satisfy the condition, a[i] % x = z, where i=0,1,2…n-1.Read the input from STDIN and write the output to STDOUT. Do not write arbitrary strings while reading the input or while printing, as […]
Coding Questions | Index of Smallest Element | Codewindow.in Read More »