Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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

Facebook C Interview Questions
Questions Answers Views Company eMail

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 }

3241

#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.

2 6395

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

2 4674

Post New Facebook C Interview Questions




Un-Answered Questions

What is the definition for sql server 2000?

1139


If you are rejected today, then what will you do?

1295


List some popular graph databases?

1


which targeting method would you use to reach these people?

284


How do you decide whether to fine-tune or train a model from scratch?

53


Can we use loop in sql?

1010


What r the foll tax deductions for :- 1.TDS 2.WCT Give me answers in detail & give me some addtional info on these topics which would be helpful for me.

4847


Explain the purpose of composition.

1067


Explain what is record meta data?

995


Do you know history of cdma?

795


How do I resize all images in a powerpoint presentation?

456


How is venus like earth?

119


what is rate of service tax and form no. of service tax ? wt rules of service tax a particuler once .?

2587


How do I create a view in drupal 7?

130


What is in mkdir command?

1191