how many keywords do C compile?
Answer Posted / chhatrala tejal n.
32
| Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
Who is the main contributor in designing the c language after dennis ritchie?
What is a example of a variable?
How can I read data from data files with particular formats?
What is the value of c?
What is pass by reference in c?
What math functions are available for integers? For floating point?
What is spark map function?
What is %d called in c?
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
How can a program be made to print the line number where an error occurs?
How can you convert integers to binary or hexadecimal?
What is oops c?
What is && in c programming?
Can stdout be forced to print somewhere other than the screen?
What is c method?