Company Name Starts with ...
#  A  B  C  D  E   F  G  H  I  J   K  L  M  N  O   P  Q  R  S  T   U  V  W  X  Y  Z

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;ia1[i+1]) && (a2[i]>a2[i+1]) ) ) return false; } return true;//assumed that each array doesn't contain duplicate elements in themshelves }

2672

#include #include struct stu { int i; char j; }; union uni { int i; char j; }; void main() { int j,k; clrscr(); struct stu s; j=sizeof(s); printf("%d",j); union uni u; k=sizeof(u); printf("%d",k); getch(); } what is value of j and k.

5098

#‎include‬ void main() { int i; for(i=5;0;i++) { printf("%d",i); } }

3386

What is an example of strong artificial intelligence?

514

which of the following is not a guideline for conducting effective usability testing? : Adobe flash

458

How might the absence of a coelom affect an Acoelomate's response to environmental changes or stressors?

220

you having experience in marketing so why i will recruit u as u r fresher in this field...

1823

How is the value function used?

563

What are the JSON Tools for Java Developer?

5

Explain Availability check.

899

On which interface you will be working as a developer?

594

How to choose a theme?

91

What is a type in swift?

482

What is cmaxpktsz good for in sybase?

447

Explain what is sql*plus?

632

What does curl command do in linux?

454

Where is mongodb stored?

1

when a child domain is created in the domain tree, what type of trust relationship exists between the new child domain and the trees root domain? : Windows server 2008

97