retagged by
515 views
0 votes
0 votes
in a sorted array of n distinct  element finding i th largest element take o(1)  .   true / false
retagged by

1 Answer

Related questions

0 votes
0 votes
1 answer
1
2 votes
2 votes
3 answers
2
Gurdeep Saini asked Jan 14, 2019
1,733 views
#include <stdio.h>int arr[] = { 10, 20, 30, 40, 50 };static int count ;inc() {return ++count;}int main(){arr[count++]=inc();printf("%d ", arr[count]);printf("%d ", arr[0]...
0 votes
0 votes
0 answers
3
utkarshkosta asked Dec 22, 2018
379 views
#include<stdio.h int main() { char A[5][7][6]; char *p[5][7][6]; printf(“%d\t”,(unsigned)(A+1)-(unsigned)A); printf(“%d”,(unsigned)(p+1)-(unsigned)p); } OPTIONS:4...