Answer Posted / ramanathan
ANSI = American National Standard Code for Information
Interchange
ISO = International standard Organization
| Is This Answer Correct ? | 3 Yes | 3 No |
Post New Answer View All Answers
Is c high or low level?
What is the incorrect operator form following list(== , <> , >= , <=) and what is the reason for the answer?
A text file that contains declarations used by a group of functions,programs,or users a) executable file b) header file c) obj file d) .cfile
What is NULL pointer?
What are 'near' and 'far' pointers?
What's the difference between constant char *p and char * constant p?
What is nested structure in c?
What is putchar() function?
You have given 2 array. You need to find whether they will
create the same BST or not.
For example:
Array1:10 5 20 15 30
Array2:10 20 15 30 5
Result: True
Array1:10 5 20 15 30
Array2:10 15 20 30 5
Result: False
One Approach is Pretty Clear by creating BST O(nlogn) then
checking two tree for identical O(N) overall O(nlogn) ..we
need there exist O(N) Time & O(1) Space also without extra
space .Algorithm ??
DevoCoder
guest
Posted 3 months ago #
#define true 1
#define false 0
int check(int a1[],int a2[],int n1,int n2)
{
int i;
//n1 size of array a1[] and n2 size of a2[]
if(n1!=n2) return false;
//n1 and n2 must be same
for(i=0;i
process by which one bit patten in to another by bit wise operation is? (a) masking, (b) pruning, (c) biting, (d) chopping,
can any one please explain, how can i access hard disk(physical address)? it is possible by the use of far,near or huge pointer? if yes then please explain......
What does dm mean sexually?
What are qualifiers in c?
Should I use symbolic names like true and false for boolean constants, or plain 1 and 0?
What math functions are available for integers? For floating point?