Where is the windows update database stored?
When should you increase copy latches? What parameters control copy latches?
Explain the responsibilities of a data analyst?
What is the difference between the sapscript texts, 'customer &kna1-kunnr&' and '&customer kna1-kunnr&'?
can u send me the supporting issues in oracle apps scm functional such as inventory,purchasing and order management
What is Ajax? How it is related to your project?
Explain the types of linking function?
What are all the protocols supported by httpservlet?
What are the data providers?
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
Explain about the constants which help in debugging?
What is toast notification?
Tell me what is the use of "ksort" in php?
What do you comprehend by the composition arrange?
How do you use pivot tables?