You are going through the airport, suddenly you heard a noise.... now make a story from this (speak at least for 2 minutes).
2 7389hiii,i am richa.. i want to know .. the criteria for appearung for BEL... how much percent i shuold have and is it will be for per semester or for a whole year
1494what is the difference between varray and table data type..please expalain with some examples... under what situation you will go for varray..instead of index by table...
1 3666What the capacitor Current formula?, For 1 KVAr how amps its required? for using the KVAr for boosting the PF Design Calculation.( Eg: for 30 KVAr required how many KW?)
17 222105If conflict arrises between two people how will solve that. If one person is overlooking into others job how to deal with such type of people ?
3 7321In Exception handling if we are using the when others first then what happens . whether it will show the compiler error
2 11476Write a C++ program without using any loop (if, for, while etc) to print numbers from 1 to 100 and 100 to 1;
18 34468Post New HCL Interview Questions
What is YARN?
What is an Idoc status?
Which component is responsible for processing sql statements and selecting access paths?
Explain global assembly cache (gac)?
how to find number of run cable laying[LT side] for transformer & alternator secondary side? [above condition for getting output power transformer to main panel side] give the example.
What is spritekit and what is scenekit?
How to estimate disk space needed for an export job?
which is the best mba specialization for b.tech cse students in marketing,finance,hr?
What is the shortcut to convert number to words in word?
What is helper in c++?
QN1)Describe how talent warehouse provides a company with easy access to its talent pool? QN1)Describe how recruitment Portal provides requirement for different groups of candidates Tks:)
Explain sessions. Explain how batches are used to combine executions?
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
What are the only two values that are falsy?
Why does Apache send a cookie on every response?